Skip to content

Commit

Permalink
clean synthrace data
Browse files Browse the repository at this point in the history
  • Loading branch information
gbamparop committed May 20, 2022
1 parent 758d67a commit e918b75
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,13 +411,14 @@ export default function agentConfigurationTests({ getService }: FtrProviderConte

after(async () => {
await deleteConfiguration(testConfig);
await synthtraceEsClient.clean();
});

it(`should have 'applied_by_agent=false' when there are no agent config metrics for this etag`, async () => {
expect(agentConfiguration?.applied_by_agent).to.be(false);
});

describe.skip('when there are agent config metrics for this etag', () => {
describe('when there are agent config metrics for this etag', () => {
before(async () => {
const start = new Date().getTime();
const end = moment(start).add(5, 'minutes').valueOf();
Expand All @@ -430,10 +431,6 @@ export default function agentConfigurationTests({ getService }: FtrProviderConte
});
});

after(() => {
synthtraceEsClient.clean();
});

it(`should have 'applied_by_agent=true' when getting a config from all configurations`, async () => {
const {
body: { configurations },
Expand Down

0 comments on commit e918b75

Please sign in to comment.