diff --git a/clickhouse_test.go b/clickhouse_test.go index 6239743..b19d0f9 100644 --- a/clickhouse_test.go +++ b/clickhouse_test.go @@ -43,7 +43,7 @@ func TestClickhouse_SendQuery(t *testing.T) { c.GetNextServer() c.Servers[0].Bad = true _, status, err := c.SendQuery(&ClickhouseRequest{}) - assert.Equal(t, 0, status) + assert.Equal(t, 503, status) assert.True(t, errors.Is(err, ErrNoServers)) }