Merge pull request #4998 from hashicorp/b-ui-test-failure

UI: Fix intermittent test failure "cannot read property name of undefined"
This commit is contained in:
Michael Lange
2018-12-13 07:52:30 -08:00
committed by GitHub

View File

@@ -194,7 +194,7 @@ moduleForAcceptance('Acceptance | task detail (no addresses)', {
server.create('agent');
server.create('node');
server.create('job');
allocation = server.create('allocation', 'withoutTaskWithPorts');
allocation = server.create('allocation', 'withoutTaskWithPorts', { clientStatus: 'running' });
task = server.db.taskStates.where({ allocationId: allocation.id })[0];
Task.visit({ id: allocation.id, name: task.name });