Skip to content

Commit

Permalink
Fixing tests during release
Browse files Browse the repository at this point in the history
  • Loading branch information
danielflower committed Sep 8, 2021
1 parent 2d31948 commit 5e8d419
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions sample-apps/maven/build.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
echo "build parameter 1: --%1--"
echo "build parameter 2: --%2--"
call mvn --version
@echo on
echo here
call mvn releaser:release
echo there
2 changes: 1 addition & 1 deletion sample-config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ restabuild.context=/restabuild
restabuild.timeout=30

# Controls whether or not to delete the instance directories of each build upon completion. Valid values: ALWAYS, NEVER, ON_SUCCESS
restabuild.delete.policy=NEVER
restabuild.delete.policy=ON_SUCCESS
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class ProjectManagerTest {
private final AppRepo appRepo = AppRepo.create("maven");
private final int defaultTimeout = 30000;
private final ExecutorService executor = Executors.newCachedThreadPool();
private final DeletePolicy instanceDirDeletePolicy = DeletePolicy.NEVER;
private final DeletePolicy instanceDirDeletePolicy = DeletePolicy.ON_SUCCESS;
private final AtomicReference<BuildStatus> endStatus = new AtomicReference<>(null);
private final BuildProcessListener endStatusSetter = (buildProcess, oldStatus, newStatus) -> {
endStatus.set(newStatus);
Expand Down

0 comments on commit 5e8d419

Please sign in to comment.