Skip to content

Commit

Permalink
improve a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Jan 8, 2024
1 parent 7c9a86d commit f82fcfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flow/e2e/bigquery/peer_flow_bq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ func (s PeerFlowE2ETestSuiteBQ) Test_Types_BQ() {
ARRAY[10299301,2579827],
ARRAY[0.0003, 8902.0092],
ARRAY['hello','bye'],
'key1=>value1, key2=>value2'::hstore
'key1=>value1, key2=>NULL'::hstore
`, srcTableName))
e2e.EnvNoError(s.t, env, err)
}()
Expand Down Expand Up @@ -771,6 +771,8 @@ func (s PeerFlowE2ETestSuiteBQ) Test_Types_BQ() {
// check if HSTORE on bigquery side is a good JSON
err = s.checkJSONValue(dstTableName, "c45", "key1", "\"value1\"")
require.NoError(s.t, err)
err = s.checkJSONValue(dstTableName, "c45", "key2", "\"\"")
require.NoError(s.t, err)

env.AssertExpectations(s.t)
}
Expand Down

0 comments on commit f82fcfe

Please sign in to comment.