Skip to content

Commit

Permalink
Temp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sylwiaszunejko committed Jul 31, 2023
1 parent 4110c89 commit 898567d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tablet_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ 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)
fmt.Println(buf)
queriedHosts := 0
for _, hostAddress := range hostAddresses {
if strings.Contains(buf.String(), hostAddress) {
Expand All @@ -70,6 +72,7 @@ func TestTablets(t *testing.T) {
}

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

Expand Down Expand Up @@ -129,6 +132,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 898567d

Please sign in to comment.