Skip to content

Commit

Permalink
Redact some expected out (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Jun 23, 2022
1 parent eafa07b commit c6c8ff1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion bin/test_sites
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ subsets=$(cd $testdir; ls -d *.site)

function redact_files {
for file in $@; do
sed -E -i -e '/at .*\(.*\.java:[0-9]+\)/d' $file
sed -E -i \
-e '/at .*\(.*\.java:[0-9]+\)/d' \
-e '/\.\.\. [0-9]+ more/d' \
$file
done
}

Expand Down
1 change: 0 additions & 1 deletion tests/downgrade.site/devices/DWN-1/expected/exceptions.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Credential
java.lang.RuntimeException: While loading credentials for local device DWN-1
Caused by: java.lang.RuntimeException: Found 0 credentials
... 5 more
Files
com.google.daq.mqtt.util.ExceptionMap: devices/DWN-1
1 change: 0 additions & 1 deletion tests/downgrade.site/devices/DWN-2/expected/exceptions.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Credential
java.lang.RuntimeException: While loading credentials for local device DWN-2
Caused by: java.lang.RuntimeException: Found 0 credentials
... 5 more
Files
com.google.daq.mqtt.util.ExceptionMap: devices/DWN-2
2 changes: 1 addition & 1 deletion tests/downgrade.site/registration_summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"DWN-2" : "devices/DWN-2"
},
"Version" : {
"main" : "1.3.13-86-g888abb42"
"main" : "1.3.13-87-g8566aca1"
}
}

0 comments on commit c6c8ff1

Please sign in to comment.