Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redact some more expected out for site tests #375

Merged
merged 1 commit into from
Jun 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}