Fix table count

This commit is contained in:
Dale McDiarmid 2022-06-22 10:10:16 +01:00
parent 5127fd95ed
commit 1ba8b45bec

View File

@ -67,7 +67,7 @@ func TestReadTableNamesForDatabase(t *testing.T) {
t.Run("client can read tables for a database", func(t *testing.T) {
tables, err := clickhouseClient.ReadTableNamesForDatabase("system")
require.Nil(t, err)
require.Greater(t, 70, len(tables))
require.GreaterOrEqual(t, len(tables), 70)
require.Contains(t, tables, "merge_tree_settings")
})
}