ResetStats before large queue testing
@@ -8,6 +8,9 @@ import (
"time"
"github.com/rqlite/rqlite/cluster"
+ "github.com/rqlite/rqlite/db"
+ "github.com/rqlite/rqlite/http"
+ "github.com/rqlite/rqlite/store"
"github.com/rqlite/rqlite/tcp"
)
@@ -832,6 +835,10 @@ func Test_MultiNodeClusterQueuedWrites(t *testing.T) {
// Test_MultiNodeClusterLargeQueuedWrites tests writing to a cluster using
// many large concurrent Queued Writes operations.
func Test_MultiNodeClusterLargeQueuedWrites(t *testing.T) {
+ store.ResetStats()
+ db.ResetStats()
+ http.ResetStats()
+
node1 := mustNewLeaderNode()
defer node1.Deprovision()
