Skip to content

Commit

Permalink
Temp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sylwiaszunejko committed Jul 28, 2023
1 parent 4110c89 commit cd4ff97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tablet_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -70,6 +71,7 @@ func TestTablets(t *testing.T) {
}

assertEqual(t, "queriedHosts", 1, queriedHosts)
time.Sleep(1 * time.Second)
}
}

Expand Down Expand Up @@ -129,6 +131,7 @@ func TestTabletsShardAwareness(t *testing.T) {
}

assertTrue(t, "len(shardList) == 1", len(shardList) == 1)
time.Sleep(1 * time.Second)
}
}

Expand Down

0 comments on commit cd4ff97

Please sign in to comment.