Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -------------------------------------------------------------------
- t.Run
- -------------------------------------------------------------------
- Running tool: /usr/local/go/bin/go test -timeout 30s github.plaid.com/plaid/go.git/services/item_manager/occurrences -run ^TestGetLegacyErrorStateFields$ -v
- === RUN TestGetLegacyErrorStateFields
- === RUN TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_0:_unretryable_error
- === RUN TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_1:_retryable_error
- === RUN TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_2:_irreconcilable_state_-_all_legacy_fields_false
- === RUN TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_3:_good_state
- --- FAIL: TestGetLegacyErrorStateFields (0.00s)
- /Users/omezenner/work/go/src/github.plaid.com/plaid/go.git/services/item_manager/occurrences/test_cases.go:29:
- Error Trace: test_cases.go:29
- Error: Not equal:
- expected: item_state.OccurrenceLegacyErrorState{Reason:"mfa reset", Status:true, IsUserError:false, XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}
- actual : item_state.OccurrenceLegacyErrorState{Reason:"mfa reset", Status:true, IsUserError:true, XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}
- Diff:
- --- Expected
- +++ Actual
- @@ -1,2 +1,2 @@
- -(item_state.OccurrenceLegacyErrorState) reason:"mfa reset" status:true
- +(item_state.OccurrenceLegacyErrorState) reason:"mfa reset" status:true is_user_error:true
- Test: TestGetLegacyErrorStateFields
- --- PASS: TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_0:_unretryable_error (0.00s)
- --- PASS: TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_1:_retryable_error (0.00s)
- --- PASS: TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_2:_irreconcilable_state_-_all_legacy_fields_false (0.00s)
- --- PASS: TestGetLegacyErrorStateFields/TestGetLegacyErrorStateFields:_test_case_3:_good_state (0.00s)
- FAIL
- FAIL github.plaid.com/plaid/go.git/services/item_manager/occurrences 3.013s
- Error: Tests failed
- -------------------------------------------------------------------
- t.Logf
- -------------------------------------------------------------------
- Running tool: /usr/local/go/bin/go test -timeout 30s github.plaid.com/plaid/go.git/services/item_manager/occurrences -run ^TestGetLegacyErrorStateFields$ -v
- === RUN TestGetLegacyErrorStateFields
- --- FAIL: TestGetLegacyErrorStateFields (0.00s)
- /Users/omezenner/work/go/src/github.plaid.com/plaid/go.git/services/item_manager/occurrences/test_cases.go:33: TestGetLegacyErrorStateFields: test case 0: unretryable error
- /Users/omezenner/work/go/src/github.plaid.com/plaid/go.git/services/item_manager/occurrences/test_cases.go:29:
- Error Trace: test_cases.go:29
- test_cases.go:34
- legacy_test.go:78
- Error: Not equal:
- expected: item_state.OccurrenceLegacyErrorState{Reason:"mfa reset", Status:true, IsUserError:false, XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}
- actual : item_state.OccurrenceLegacyErrorState{Reason:"mfa reset", Status:true, IsUserError:true, XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}
- Diff:
- --- Expected
- +++ Actual
- @@ -1,2 +1,2 @@
- -(item_state.OccurrenceLegacyErrorState) reason:"mfa reset" status:true
- +(item_state.OccurrenceLegacyErrorState) reason:"mfa reset" status:true is_user_error:true
- Test: TestGetLegacyErrorStateFields
- /Users/omezenner/work/go/src/github.plaid.com/plaid/go.git/services/item_manager/occurrences/test_cases.go:33: TestGetLegacyErrorStateFields: test case 1: retryable error
- /Users/omezenner/work/go/src/github.plaid.com/plaid/go.git/services/item_manager/occurrences/test_cases.go:33: TestGetLegacyErrorStateFields: test case 2: irreconcilable state - all legacy fields false
- /Users/omezenner/work/go/src/github.plaid.com/plaid/go.git/services/item_manager/occurrences/test_cases.go:33: TestGetLegacyErrorStateFields: test case 3: good state
- FAIL
- FAIL github.plaid.com/plaid/go.git/services/item_manager/occurrences 2.977s
- Error: Tests failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement