Skip to content

Commit

Permalink
without using an inherited scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Sep 7, 2022
1 parent cdd0d74 commit 3780255
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions ui/tests/acceptance/allocation-detail-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import a11yAudit from 'nomad-ui/tests/helpers/a11y-audit';
import Allocation from 'nomad-ui/tests/pages/allocations/detail';
import moment from 'moment';
import formatHost from 'nomad-ui/utils/format-host';
import { allScenarios } from '../../mirage/scenarios/default';

let job;
let node;
Expand Down Expand Up @@ -624,7 +623,18 @@ module('Acceptance | allocation detail (services)', function (hooks) {
setupMirage(hooks);

hooks.beforeEach(async function () {
allScenarios.servicesTestCluster(server);
server.create('feature', { name: 'Dynamic Application Sizing' });
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
server.createList('node', 5);
server.createList('job', 1, { createRecommendations: true });
server.create('job', {
withGroupServices: true,
withTaskServices: true,
name: 'Service-haver',
id: 'service-haver',
namespaceId: 'default',
});

server.db.serviceFragments.update({
healthChecks: [
{
Expand Down

0 comments on commit 3780255

Please sign in to comment.