Skip to content

Commit

Permalink
Reset outputs if test.xml doesn't exists
Browse files Browse the repository at this point in the history
  • Loading branch information
coeuvre committed Jun 15, 2021
1 parent 97139ce commit e16fd18
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,9 @@ public TestAttemptContinuation execute()
metadataHandler.getMetadata(testAction.getTestXml());
testXmlExists = true;
} catch (IOException ignored) {
// If test.xml doesn't exist, A call to getMetadata above will insert a MISSING_FILE_MARKER value
// into the store. We need to reset the outputs.
metadataHandler.resetOutputs(ImmutableList.of(testAction.getTestXml()));
}
}

Expand Down

0 comments on commit e16fd18

Please sign in to comment.