mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
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:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user