Skip to content

Commit 2a4df52

Browse files
committed
fix: internal error should be retryable failed
Signed-off-by: machichima <nary12321@gmail.com>
1 parent 61fd572 commit 2a4df52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/flytekit/unit/extend/test_connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def test_convert_to_flyte_phase():
383383
assert convert_to_flyte_phase("TIMEDOUT") == TaskExecution.FAILED
384384
assert convert_to_flyte_phase("CANCELED") == TaskExecution.FAILED
385385
assert convert_to_flyte_phase("SKIPPED") == TaskExecution.FAILED
386-
assert convert_to_flyte_phase("INTERNAL_ERROR") == TaskExecution.FAILED
386+
assert convert_to_flyte_phase("INTERNAL_ERROR") == TaskExecution.RETRYABLE_FAILED
387387

388388
assert convert_to_flyte_phase("DONE") == TaskExecution.SUCCEEDED
389389
assert convert_to_flyte_phase("SUCCEEDED") == TaskExecution.SUCCEEDED

0 commit comments

Comments
 (0)