Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding automatic image building and release management #69

Merged
merged 15 commits into from
Jun 30, 2020
Merged
Prev Previous commit
Next Next commit
test: bumping up wait time to eliminate false failures
schottra committed Jun 29, 2020
commit a6c770da1ec6bcfff2f05021fe2f6b7e5f29e9dd
6 changes: 3 additions & 3 deletions src/components/Executions/test/utils.test.ts
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ describe('getWorkflowExecutionTimingMS', () => {
expect(firstResult).not.toBeNull();

// Force a tick so new Date() will return a different value
await waitFor(1);
await waitFor(10);
const secondResult = getWorkflowExecutionTimingMS(execution);
expect(secondResult).not.toBeNull();
expect(firstResult!.duration).toBeLessThan(secondResult!.duration);
@@ -126,7 +126,7 @@ describe('getNodeExecutionTimingMS', () => {
expect(firstResult).not.toBeNull();

// Force a tick so new Date() will return a different value
await waitFor(1);
await waitFor(10);
const secondResult = getNodeExecutionTimingMS(execution);
expect(secondResult).not.toBeNull();
expect(firstResult!.duration).toBeLessThan(secondResult!.duration);
@@ -174,7 +174,7 @@ describe('getTaskExecutionTimingMS', () => {
expect(firstResult).not.toBeNull();

// Force a tick so new Date() will return a different value
await waitFor(1);
await waitFor(10);
const secondResult = getTaskExecutionTimingMS(execution);
expect(secondResult).not.toBeNull();
expect(firstResult!.duration).toBeLessThan(secondResult!.duration);