Merged in feature/tableandtests (pull request #119)
Stabilise tests and CNC_1 Sample * testspeedup * notyet * replacebits * noflake
This commit is contained in:
@@ -20,9 +20,6 @@ func TestQueryAPI(t *testing.T) {
|
||||
cfg := &Config{}
|
||||
test.SetCfgProvider(t, cfg)
|
||||
|
||||
deps, clean := test.CreateFullDependencies(t, ctx, cfg)
|
||||
defer clean()
|
||||
|
||||
c, cleanup := test.CreateAPINetwork(t, ctx, cfg, test.QueryAPI)
|
||||
defer cleanup()
|
||||
|
||||
@@ -71,7 +68,7 @@ func TestQueryAPI(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
assert.NotNil(t, res)
|
||||
|
||||
test.AssertMessageBody(t, ctx, cfg, deps.QueueURLs[test.QueryVersionSyncRunnerName], regexp.MustCompile(`{"id":".+"}`))
|
||||
test.AssertMessageBody(t, ctx, cfg, c.Dependencies.QueueURLs[test.QueryVersionSyncRunnerName], regexp.MustCompile(`{"id":".+"}`))
|
||||
|
||||
queryRes, err = client.GetQueryWithResponse(ctx, jsonID)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user