Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Mar 6, 2023
1 parent ebd31b0 commit 724bd87
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions x-pack/test/fleet_api_integration/apis/agents/action_status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export default function (providerContext: FtrProviderContext) {
creationTime: '2022-09-15T10:00:00.000Z',
nbAgentsFailed: 0,
hasRolloutPeriod: false,
latestErrors: [],
},
{
actionId: 'action3',
Expand All @@ -209,6 +210,7 @@ export default function (providerContext: FtrProviderContext) {
nbAgentsFailed: 0,
completionTime: '2022-09-15T12:00:00.000Z',
hasRolloutPeriod: false,
latestErrors: [],
},
{
actionId: 'action4',
Expand All @@ -221,6 +223,7 @@ export default function (providerContext: FtrProviderContext) {
creationTime: '2022-09-15T10:00:00.000Z',
nbAgentsFailed: 0,
hasRolloutPeriod: false,
latestErrors: [],
},
{
actionId: 'action5',
Expand All @@ -235,6 +238,7 @@ export default function (providerContext: FtrProviderContext) {
nbAgentsFailed: 0,
cancellationTime: '2022-09-15T11:00:00.000Z',
hasRolloutPeriod: false,
latestErrors: [],
},
{
actionId: 'action7',
Expand All @@ -249,6 +253,13 @@ export default function (providerContext: FtrProviderContext) {
nbAgentsFailed: 1,
completionTime: '2022-09-15T11:00:00.000Z',
hasRolloutPeriod: false,
latestErrors: [
{
agentId: 'agent1',
error: 'agent already assigned',
timestamp: '2022-09-15T11:00:00.000Z',
},
],
},
]);
});
Expand Down

0 comments on commit 724bd87

Please sign in to comment.