diff --git a/tablet_integration_test.go b/tablet_integration_test.go index b60f53f4d..38ab93820 100644 --- a/tablet_integration_test.go +++ b/tablet_integration_test.go @@ -62,6 +62,7 @@ func TestTablets(t *testing.T) { err = session.Query(`SELECT pk, ck, v FROM test1.table1 WHERE pk = ?;`, i).WithContext(ctx).Consistency(One).Trace(trace).Scan(&pk, &ck, &v) assertTrue(t, "err == nil", err == nil) + fmt.Println(hostAddresses) queriedHosts := 0 for _, hostAddress := range hostAddresses { if strings.Contains(buf.String(), hostAddress) { @@ -70,6 +71,7 @@ func TestTablets(t *testing.T) { } assertEqual(t, "queriedHosts", 1, queriedHosts) + time.Sleep(1 * time.Second) } } @@ -129,6 +131,7 @@ func TestTabletsShardAwareness(t *testing.T) { } assertTrue(t, "len(shardList) == 1", len(shardList) == 1) + time.Sleep(1 * time.Second) } }