@@ -1714,7 +1714,7 @@ def test_reexecute_successful_asset_backfill(self, graphql_context):
1714
1714
assert result .data
1715
1715
assert result .data ["reexecutePartitionBackfill" ]["__typename" ] == "PythonError"
1716
1716
assert (
1717
- "Cannot re-execute an asset backfill that has no missing materializations"
1717
+ "Cannot re-execute from failure an asset backfill that has no missing materializations"
1718
1718
in result .data ["reexecutePartitionBackfill" ]["message" ]
1719
1719
)
1720
1720
@@ -1858,7 +1858,7 @@ def test_reexecute_asset_backfill_still_in_progress(self, graphql_context):
1858
1858
retried_backfill = graphql_context .instance .get_backfill (retry_backfill_id )
1859
1859
1860
1860
assert (
1861
- first_backfill .asset_backfill_data .failed_and_downstream_subset
1861
+ first_backfill .asset_backfill_data .target_subset
1862
1862
== retried_backfill .asset_backfill_data .target_subset
1863
1863
)
1864
1864
assert retried_backfill .tags .get (PARENT_BACKFILL_ID_TAG ) == backfill_id
@@ -1964,7 +1964,7 @@ def test_reexecute_asset_backfill_twice(self, graphql_context):
1964
1964
graphql_context ,
1965
1965
RETRY_BACKFILL_MUTATION ,
1966
1966
variables = {
1967
- "reexecutionParams" : {"parentRunId" : backfill_id , "strategy" : "FROM_FAILURE" },
1967
+ "reexecutionParams" : {"parentRunId" : retry_backfill_id , "strategy" : "FROM_FAILURE" },
1968
1968
},
1969
1969
)
1970
1970
@@ -2078,7 +2078,7 @@ def test_retry_job_backfill(self, graphql_context):
2078
2078
assert result .data ["partitionBackfillOrError" ]["status" ] == "REQUESTED"
2079
2079
assert result .data ["partitionBackfillOrError" ]["numCancelable" ] == 2
2080
2080
assert len (result .data ["partitionBackfillOrError" ]["partitionNames" ]) == 2
2081
- assert result .data ["partitionBackfillOrError" ]["fromFailure" ]
2081
+ assert not result .data ["partitionBackfillOrError" ]["fromFailure" ]
2082
2082
2083
2083
def test_retry_in_progress_job_backfill (self , graphql_context ):
2084
2084
repository_selector = infer_repository_selector (graphql_context )
0 commit comments