Skip to content

Commit

Permalink
Merge pull request #3103 from cloudfoundry-incubator/e2e-resilience
Browse files Browse the repository at this point in the history
Make instance termination more resilient
  • Loading branch information
richard-cox authored Oct 3, 2018
2 parents a76c730 + 6b0e45e commit 6c2951b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test-e2e/application/application-deploy-e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,7 @@ describe('Application Deploy -', function () {
expect(confirm.getMessage()).toBe('Are you sure you want to terminate instance 0?');
confirm.confirm();
appInstances.cardInstances.waitForRunningInstancesText('0 / 1');
appInstances.list.empty.getDefault().waitUntilShown();
expect(appInstances.list.getTotalResults()).toBe(0);
// The instance can come back very quickly, so we can't check for 0 rows
});

afterAll(() => applicationE2eHelper.deleteApplication(null, { appName: testAppName }));
Expand Down

0 comments on commit 6c2951b

Please sign in to comment.