Skip to content

Commit

Permalink
Only activate TestExtension for blockSynchronously in the relevant te…
Browse files Browse the repository at this point in the history
…st method

Co-authored-by: Jesse Glick <[email protected]>
  • Loading branch information
dwnusbaum and jglick authored Aug 9, 2024
1 parent 2de670d commit b15fde4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ private enum State {
UNBLOCKED,
}

@TestExtension public static class DescriptorImpl extends StepDescriptor {
@TestExtension("stepExecutionIteratorDoesNotLeakBuildsWhenOneIsStuck") public static class DescriptorImpl extends StepDescriptor {
@Override
public Set<? extends Class<?>> getRequiredContext() {
return Collections.singleton(TaskListener.class);
Expand Down

0 comments on commit b15fde4

Please sign in to comment.