Skip to content

Commit

Permalink
retry system test
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Aug 10, 2023
1 parent 5ed55ea commit 304a379
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system-test/logging-bunyan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ describe('LoggingBunyan', function () {
level: 'error',
verify: (entry: types.StackdriverEntry) => {
assert(
(
(entry.data as types.StackdriverData).message as string
).startsWith('Error: second')
((entry.data as types.StackdriverData).message as string).includes(
'Error: second'
)
);
assert.strictEqual(
(entry.data as types.StackdriverData).pid,
Expand Down Expand Up @@ -252,7 +252,7 @@ describe('LoggingBunyan', function () {
const errEvent = errors[0];

assert.strictEqual(errEvent.serviceContext.service, SERVICE);
assert(errEvent.message.startsWith(`Error: ${message}`));
assert(errEvent.message.includes(`Error: ${message}`));
});
});
});
Expand Down

0 comments on commit 304a379

Please sign in to comment.