Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
test(e2e): do not dump raw message
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Sep 3, 2021
1 parent edcf0c4 commit 3b5c28c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions feature-runner/steps/asset-tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import { retry } from '../../cli/commands/retry'
const decoder = new TextDecoder('utf8')

io.enable_logging(
process.env.IOT_LOG_LEVEL === undefined
process.env.AWS_IOT_SDK_LOG_LEVEL === undefined
? io.LogLevel.ERROR
: parseInt(process.env.IOT_LOG_LEVEL, 10),
: parseInt(process.env.AWS_IOT_SDK_LOG_LEVEL, 10),
)
const clientBootstrap = new io.ClientBootstrap()

Expand Down Expand Up @@ -285,7 +285,7 @@ export const assetTrackerStepRunners = ({
? Buffer.from(payload).toString('hex')
: JSON.parse(message)
messages.push(m)
await runner.progress(`Iot`, message)
await runner.progress(`Iot`, m)
if (messages.length === expectedMessageCount) {
clearTimeout(timeout)
void connection.unsubscribe(topic)
Expand Down

0 comments on commit 3b5c28c

Please sign in to comment.