enhance test output

pull/2203/head
Cory LaNou 2015-04-08 17:52:22 -06:00
parent 8335a2b196
commit 839dac9894
1 changed files with 2 additions and 0 deletions

View File

@ -1749,6 +1749,8 @@ func TestServer_RunContinuousQueries(t *testing.T) {
} else if len(res.Series) != 2 {
t.Fatalf("unexpected row count on verify %d: %d", num, len(res.Series))
} else if s := mustMarshalJSON(res); s != exp {
t.Log("exp: ", exp)
t.Log("got: ", s)
t.Fatalf("unexpected row(0) on verify %d: %s", num, s)
}
}