From 63cd9c972bba194842c60bd8e16f716c038c9e94 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Thu, 13 Dec 2018 07:39:16 -0800 Subject: [PATCH] Always create a running allocation when testing task state --- ui/tests/acceptance/task-detail-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/tests/acceptance/task-detail-test.js b/ui/tests/acceptance/task-detail-test.js index efa3cc877..177df255d 100644 --- a/ui/tests/acceptance/task-detail-test.js +++ b/ui/tests/acceptance/task-detail-test.js @@ -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 });