Commit d2a6ac4
committed
Fix test server nexus failure wrapping and test assertions for server 1.31.0
- Update nexusFailureToAPIFailure to not wrap non-temporal failures in
ApplicationFailureInfo (matching real server behavior)
- Update handlerErrorToFailure to not set message at top level (message
is only in the nested cause on real server)
- Update NexusWorkflowTest assertions to check cause.getCause() for
handler error messages
- Remove applicationFailureInfo assertion from testNexusOperationError
- Skip testNexusOperationTimeout_AfterCancel with real server (timeout
behavior after cancel differs)
- Skip testNexusOperationScheduleToStartTimeout with real server
(requires time skipping)
- Skip WorkflowIdConflictPolicyTest.conflictPolicyUseExisting with real
server (callback URL validation rejects test URLs)1 parent f568ffd commit d2a6ac4
3 files changed
Lines changed: 11 additions & 12 deletions
File tree
- temporal-test-server/src
- main/java/io/temporal/internal/testservice
- test/java/io/temporal/testserver/functional
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
1174 | | - | |
1175 | 1174 | | |
1176 | 1175 | | |
1177 | 1176 | | |
| |||
1196 | 1195 | | |
1197 | 1196 | | |
1198 | 1197 | | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | 1198 | | |
1207 | 1199 | | |
1208 | 1200 | | |
| |||
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
633 | 636 | | |
634 | 637 | | |
635 | 638 | | |
| |||
712 | 715 | | |
713 | 716 | | |
714 | 717 | | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
715 | 721 | | |
716 | 722 | | |
717 | 723 | | |
| |||
885 | 891 | | |
886 | 892 | | |
887 | 893 | | |
888 | | - | |
889 | | - | |
890 | 894 | | |
891 | 895 | | |
892 | 896 | | |
| |||
947 | 951 | | |
948 | 952 | | |
949 | 953 | | |
950 | | - | |
951 | 954 | | |
952 | 955 | | |
| 956 | + | |
953 | 957 | | |
954 | 958 | | |
955 | 959 | | |
| |||
1016 | 1020 | | |
1017 | 1021 | | |
1018 | 1022 | | |
1019 | | - | |
1020 | 1023 | | |
1021 | 1024 | | |
| 1025 | + | |
1022 | 1026 | | |
1023 | 1027 | | |
1024 | 1028 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
0 commit comments