From 37984d7ac535f3594a7a924f0a1352729f5712d4 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 30 Aug 2022 10:20:49 +0300 Subject: [PATCH] chore: cleanup --- ch/db_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch/db_test.go b/ch/db_test.go index c815255..27e3f5d 100644 --- a/ch/db_test.go +++ b/ch/db_test.go @@ -87,7 +87,7 @@ func TestCHTimeout(t *testing.T) { require.Eventually(t, func() bool { var num int - err := db.NewSelect().ColumnExpr("count()").TableExpr("system.processes").Scan(ctx, &num) + err := db.NewRaw("SELECT count() from system.processes").Scan(ctx, &num) require.NoError(t, err) return num == 1 }, time.Second, 100*time.Millisecond)