Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
  • Loading branch information
rohit-nayak-ps committed Aug 21, 2024
1 parent 6b7688a commit a1aba96
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions go/vt/vtctl/workflow/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"math/rand/v2"
"os"
"os/exec"
"reflect"
"sync"
"testing"
"time"
Expand Down Expand Up @@ -91,9 +90,7 @@ func TestCreateDefaultShardRoutingRules(t *testing.T) {
require.NoError(t, err)
require.Len(t, rules, len(tc.shards))
want := getExpectedRules(tc.sourceKeyspace, tc.targetKeyspace)
if !reflect.DeepEqual(want, rules) {
require.FailNowf(t, "unexpected rules", "got: %v, want: %v", rules, tc.want)
}
require.EqualValues(t, want, rules)
})
}
}
Expand Down

0 comments on commit a1aba96

Please sign in to comment.