Skip to content

Commit de314c6

Browse files
committed
fix flaky test
1 parent 5fa7af5 commit de314c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chdb/connection_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,10 @@ func TestQueryOnConnection(t *testing.T) {
6464

6565
connection.Query(" INSERT INTO testdb.testtable VALUES (1), (2), (3);")
6666

67-
ret, err := connection.Query("SELECT * FROM testtable;")
67+
ret, err := connection.Query("SELECT * FROM testdb.testtable;")
6868
if err != nil {
6969
t.Errorf("Query failed: %s", err)
7070
}
71-
t.Errorf("result is: %s", string(ret.Buf()))
7271
if string(ret.Buf()) != "1\n2\n3\n" {
7372
t.Errorf("Query result should be 1\n2\n3\n, got %s", string(ret.Buf()))
7473
}

0 commit comments

Comments
 (0)