Skip to content

Commit

Permalink
change test
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
  • Loading branch information
wild-endeavor committed Feb 27, 2025
1 parent cdb5189 commit 6ac8010
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flytekit/core/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
START_NODE_ID = "start-node"
END_NODE_ID = "end-node"

DEFAULT_FAILURE_NODE_ID = "nfail"
DEFAULT_FAILURE_NODE_ID = "efn"

# If set this environment variable overrides the default container image and the default base image in ImageSpec.
FLYTE_INTERNAL_IMAGE_ENV_VAR = "FLYTE_INTERNAL_IMAGE"
Expand Down
2 changes: 1 addition & 1 deletion tests/flytekit/unit/core/test_imperative.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def t3(dc: DC) -> DC:

node_names = [n.id for n in wf_spec.template.nodes]
assert wf_spec.template.failure_node is not None
assert wf_spec.template.failure_node.id == "nfail"
assert wf_spec.template.failure_node.id == "efn"


def test_imperative_with_list_io():
Expand Down
2 changes: 1 addition & 1 deletion tests/flytekit/unit/core/test_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def t1(a: int) -> int:

@workflow
def wf(a: int) -> int:
return t1(a=a).with_overrides(node_name="nfail")
return t1(a=a).with_overrides(node_name="efn")

with pytest.raises(ValueError):
get_serializable(OrderedDict(), serialization_settings, wf)
Expand Down

0 comments on commit 6ac8010

Please sign in to comment.