Refactoring + error handling fixes #39
GitHub Actions / Integration tests report
failed
Nov 6, 2024 in 0s
0 passed, 1 failed and 0 skipped
❌ report.xml
1 tests were completed in 4s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
github.com/conductor-sdk/conductor-go/test/integration_tests | 1❌ | 417ms |
❌ github.com/conductor-sdk/conductor-go/test/integration_tests
❌ TestApplicationLifecycle
=== RUN TestApplicationLifecycle
Annotations
Check failure on line 0 in report.xml
github-actions / Integration tests report
github.com/conductor-sdk/conductor-go/test/integration_tests ► TestApplicationLifecycle
Failed test found in:
report.xml
Error:
=== RUN TestApplicationLifecycle
Raw output
=== RUN TestApplicationLifecycle
application_client_test.go:24:
Error Trace: application_client_test.go:24
Error: Not equal:
expected: "TestApp2"
actual : ""
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-TestApp2
+
Test: TestApplicationLifecycle
application_client_test.go:28:
Error Trace: application_client_test.go:28
Error: Expected nil, but got: client.GenericSwaggerError{body:[]uint8{0x7b, 0x22, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x3a, 0x22, 0x32, 0x30, 0x32, 0x34, 0x2d, 0x31, 0x31, 0x2d, 0x30, 0x36, 0x54, 0x30, 0x30, 0x3a, 0x34, 0x37, 0x3a, 0x30, 0x38, 0x2e, 0x33, 0x31, 0x37, 0x2b, 0x30, 0x30, 0x3a, 0x30, 0x30, 0x22, 0x2c, 0x22, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3a, 0x22, 0x34, 0x30, 0x34, 0x22, 0x2c, 0x22, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3a, 0x22, 0x4e, 0x6f, 0x74, 0x20, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x2c, 0x22, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x6f, 0x72, 0x67, 0x2e, 0x73, 0x70, 0x72, 0x69, 0x6e, 0x67, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x77, 0x65, 0x62, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x6c, 0x65, 0x74, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4e, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x6f, 0x75, 0x6e, 0x64, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x2c, 0x22, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x3a, 0x22, 0x4e, 0x6f, 0x20, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x22, 0x2c, 0x22, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x22, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x22, 0x2c, 0x22, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x3a, 0x22, 0x6f, 0x72, 0x6b, 0x65, 0x73, 0x2d, 0x63, 0x6f, 0x6e, 0x64, 0x75, 0x63, 0x74, 0x6f, 0x72, 0x2d, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2d, 0x35, 0x36, 0x36, 0x62, 0x36, 0x34, 0x63, 0x34, 0x37, 0x35, 0x2d, 0x74, 0x64, 0x6b, 0x73, 0x68, 0x22, 0x2c, 0x22, 0x63, 0x61, 0x75, 0x73, 0x65, 0x22, 0x3a, 0x22, 0x4e, 0x6f, 0x20, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x22, 0x7d}, error:"404 ", model:interface {}(nil), statusCode:404}
Test: TestApplicationLifecycle
application_client_test.go:29:
Error Trace: application_client_test.go:29
Error: Not equal:
expected: 200
actual : 404
Test: TestApplicationLifecycle
--- FAIL: TestApplicationLifecycle (0.41s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x8c71d8]
goroutine 5 [running]:
testing.tRunner.func1.2({0x9438c0, 0xdf6dd0})
/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1396 +0x24e
testing.tRunner.func1()
/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1399 +0x39f
panic({0x9438c0, 0xdf6dd0})
/opt/hostedtoolcache/go/1.19.13/x64/src/runtime/panic.go:884 +0x212
github.com/conductor-sdk/conductor-go/test/integration_tests.TestApplicationLifecycle(0x0?)
/home/runner/work/conductor-go/conductor-go/test/integration_tests/application_client_test.go:30 +0x198
testing.tRunner(0xc0002be1a0, 0xa16468)
/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
/opt/hostedtoolcache/go/1.19.13/x64/src/testing/testing.go:1493 +0x35f
Loading