Skip to content

Commit

Permalink
code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenIdo committed Jul 2, 2024
1 parent 92ab18d commit faeced0
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,6 @@ export default function (providerContext: FtrProviderContext) {
mockUsageApiServer.listen(8081); // Start the usage api mock server on port 8081
});

after(async () => {
// server.disable();
console.log('Mock server is stopped');
});

beforeEach(async () => {
roleAuthc = await svlUserManager.createApiKeyForRole('admin');
internalRequestHeader = svlCommonApi.getInternalRequestHeader();
Expand Down Expand Up @@ -103,7 +98,7 @@ export default function (providerContext: FtrProviderContext) {
internalRequestHeader
);
await addIndex(es, cspmFindingsMockDataForMetering, LATEST_FINDINGS_INDEX_DEFAULT_NS);
// await new Promise(() => {});

let interceptedRequestBody: UsageRecord[] = [];
await retry.try(async () => {
interceptedRequestBody = getInterceptedRequestPayload();
Expand Down

0 comments on commit faeced0

Please sign in to comment.