Skip to content

Commit 5e2aeff

Browse files
committed
fix: invalid test
1 parent 5ef88af commit 5e2aeff

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

scheduler/scheduler_test.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -518,18 +518,6 @@ func Test_shardTableClients(t *testing.T) {
518518
shard: &shard{num: 1, total: 2},
519519
expected: []tableClient{},
520520
},
521-
{
522-
name: "invalid total number of shards",
523-
tableClients: []tableClient{
524-
{client: &testExecutionClient{}, table: &schema.Table{Name: "table_1"}},
525-
{client: &testExecutionClient{}, table: &schema.Table{Name: "table_2"}},
526-
},
527-
shard: &shard{num: 1, total: 0},
528-
expected: []tableClient{
529-
{client: &testExecutionClient{}, table: &schema.Table{Name: "table_1"}},
530-
{client: &testExecutionClient{}, table: &schema.Table{Name: "table_2"}},
531-
},
532-
},
533521
{
534522
name: "even shard 1 of 2",
535523
tableClients: []tableClient{

0 commit comments

Comments
 (0)