Skip to content

Commit

Permalink
try warning in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
WafaaNasr committed Aug 3, 2023
1 parent e5ec441 commit c4f6a6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ export default ({ getService }: FtrProviderContext) => {
await waitForRuleSuccess({ supertest, log, id });
await waitForSignalsToBePresent(supertest, log, 1, [id]);
const signalsOpen = await getSignalsById(supertest, log, id);
log.info('HERE hits: ', signalsOpen.hits.hits);
log.warning('HERE hits: ', signalsOpen.hits.hits);
const hits = signalsOpen.hits.hits.map((hit) => hit._source?.double).sort();
expect(hits).to.eql(['1.1', '1.2', '1.3']);
});
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/lists_api_integration/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export const waitForListItem = async (
const { status, body } = await supertest
.get(`${LIST_ITEM_URL}?list_id=${fileName}&value=${itemValue}`)
.send();
log.info('HERE status: ', status, 'fileName: ', fileName, 'itemValue: ', itemValue);
log.warning('HERE status: ', status, 'fileName: ', fileName, 'itemValue: ', itemValue);
if (status !== 200) {
log.debug(
`Did not get an expected 200 "ok" when waiting for a list item (waitForListItem) yet. Retrying until we get a 200 "ok". body: ${JSON.stringify(
Expand Down

0 comments on commit c4f6a6e

Please sign in to comment.