Skip to content

Commit c5bc8d1

Browse files
authored
Merge pull request #422 from pixlise/feature/client
Took out unfinished testJobs() from integration test
2 parents f5e9887 + f2b40a6 commit c5bc8d1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

internal/cmd-line-tools/api-integration-test/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func runLocalTests(apiHost string, isCI bool) {
171171
//return
172172

173173
// *** NOT RUNNING THIS LOCALLY, NO LAMBDA IS STARTED *** testScanImport(apiHost)
174-
testJobs(apiHost)
174+
//testJobs(apiHost)
175175
u1Id, u2Id := testNotification(apiHost)
176176
testImageUpload(apiHost, u1Id, u2Id)
177177
testImageMatchTransform(apiHost)

internal/cmd-line-tools/api-integration-test/testJobs.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ func testJobs(apiHost string) {
2828
})
2929

3030
u1.AddSendReqAction("List jobs, should be empty",
31-
`{"scanJobListReq":{}}`,
32-
`{"msgId":1,"status":"WS_OK","scanJobListResp":{"jobs": []}}`,
31+
`{"scanListJobsReq":{}}`,
32+
`{"msgId":1,"status":"WS_OK","scanListJobsResp":{"jobs": []}}`,
3333
)
3434

3535
u1.AddSendReqAction("Create job1",
@@ -43,8 +43,8 @@ func testJobs(apiHost string) {
4343
)
4444

4545
u1.AddSendReqAction("List jobs, should be 2",
46-
`{"scanJobListReq":{}}`,
47-
`{"msgId":1,"status":"WS_OK","scanJobListResp":{"jobs": []}}`,
46+
`{"scanListJobsReq":{}}`,
47+
`{"msgId":1,"status":"WS_OK","scanListJobsResp":{"jobs": []}}`,
4848
)
4949

5050
u1.AddSendReqAction("Delete job1",
@@ -53,8 +53,8 @@ func testJobs(apiHost string) {
5353
)
5454

5555
u1.AddSendReqAction("List jobs, should be 2",
56-
`{"scanJobListReq":{}}`,
57-
`{"msgId":1,"status":"WS_OK","scanJobListResp":{"jobs": []}}`,
56+
`{"scanListJobsReq":{}}`,
57+
`{"msgId":1,"status":"WS_OK","scanListJobsResp":{"jobs": []}}`,
5858
)
5959

6060
u1.AddSendReqAction("Trigger non-existant job",

0 commit comments

Comments
 (0)