Fix suspected race condition in test code

This commit is contained in:
Kris De Volder
2017-08-14 10:41:17 -07:00
parent eeb5b3a14c
commit b2b7e4cf8d
2 changed files with 1 additions and 2 deletions

View File

@@ -151,10 +151,10 @@ public class BoshEditorTest {
}
@Test public void reconcileCfManifest() throws Exception {
Editor editor = harness.newEditorFromClasspath("/workspace/cf-deployment-manifest.yml");
cloudConfigProvider.executeCommandWith(() -> {
throw new IOException("Couldn't contact the director");
});
Editor editor = harness.newEditorFromClasspath("/workspace/cf-deployment-manifest.yml");
editor.assertProblems(/*NONE*/);
}