Skip to content

Commit

Permalink
log_test: restore the original config
Browse files Browse the repository at this point in the history
The original device config needs to be restored after the test is done.

Signed-off-by: Paul Gaiduk <[email protected]>
  • Loading branch information
europaul authored and uncleDecart committed Dec 9, 2024
1 parent a4a6ce7 commit 14567d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/lim/testdata/log_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ exec sleep 15
# ssh into EVE to force log creation
exec -t 5m bash ssh.sh &

# restore the original config
eden -t 1m controller edge-node set-config --file /tmp/full-config.json

# Trying to find messages about ssh in log
{{$test1}} -out content 'content:.*Disconnected.*'
stdout 'Disconnected from'

# restore the original config
eden -t 1m controller edge-node set-config --file /tmp/full-config.json

# Test's config. file
-- eden-config.yml --
test:
Expand Down

0 comments on commit 14567d9

Please sign in to comment.