From 020036987fdef231fee47caf930c3eb412436168 Mon Sep 17 00:00:00 2001 From: Andrew Mason Date: Wed, 28 Feb 2024 15:01:36 -0500 Subject: [PATCH] delete unused code in vreplication e2e tests (#15378) Signed-off-by: Andrew Mason --- go/test/endtoend/vreplication/cluster_test.go | 3 --- go/test/endtoend/vreplication/fk_ext_test.go | 4 ---- go/test/endtoend/vreplication/performance_test.go | 2 -- 3 files changed, 9 deletions(-) diff --git a/go/test/endtoend/vreplication/cluster_test.go b/go/test/endtoend/vreplication/cluster_test.go index 7d22d063945..6fd63edb200 100644 --- a/go/test/endtoend/vreplication/cluster_test.go +++ b/go/test/endtoend/vreplication/cluster_test.go @@ -139,9 +139,6 @@ type Keyspace struct { VSchema string Schema string SidecarDBName string - - numReplicas int - numRDOnly int } // Shard represents a Vitess shard in a keyspace diff --git a/go/test/endtoend/vreplication/fk_ext_test.go b/go/test/endtoend/vreplication/fk_ext_test.go index 401b99360d8..4e493da5baf 100644 --- a/go/test/endtoend/vreplication/fk_ext_test.go +++ b/go/test/endtoend/vreplication/fk_ext_test.go @@ -32,10 +32,6 @@ import ( binlogdatapb "vitess.io/vitess/go/vt/proto/binlogdata" ) -const ( - shardStatusWaitTimeout = 30 * time.Second -) - var ( //go:embed schema/fkext/source_schema.sql FKExtSourceSchema string diff --git a/go/test/endtoend/vreplication/performance_test.go b/go/test/endtoend/vreplication/performance_test.go index 6940665c842..43157c8923d 100644 --- a/go/test/endtoend/vreplication/performance_test.go +++ b/go/test/endtoend/vreplication/performance_test.go @@ -43,8 +43,6 @@ create table largebin(pid int, maindata varbinary(4096), primary key(pid)); create table customer(cid int, name varbinary(128), meta json default null, typ enum('individual','soho','enterprise'), sport set('football','cricket','baseball'),ts timestamp not null default current_timestamp, primary key(cid)) CHARSET=utf8mb4; ` - const defaultCellName = "zone1" - const sourceKs = "stress_src" const targetKs = "stress_tgt"