From 20a8f67f0a5e69a7216ef87db1b56bc86da0602f Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Thu, 12 Dec 2019 15:30:09 -0600 Subject: [PATCH] Fix flapping status light test I unintentionally introduced a flapping test in #6817. The draining status of the node will be randomly chosen and that flag takes precedence over eligibility. This forces the draining flag to be false rather than random so the test should no longer flap. See here for an example failure: https://circleci.com/gh/hashicorp/nomad/26368 --- ui/tests/acceptance/client-detail-test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/tests/acceptance/client-detail-test.js b/ui/tests/acceptance/client-detail-test.js index 3fc65b40913..a037f79fa14 100644 --- a/ui/tests/acceptance/client-detail-test.js +++ b/ui/tests/acceptance/client-detail-test.js @@ -440,6 +440,7 @@ module('Acceptance | client detail', function(hooks) { test('the status light indicates when the node is ineligible for scheduling', async function(assert) { node = server.create('node', { + drain: false, schedulingEligibility: 'ineligible', });