@@ -747,7 +747,7 @@ check_permission_failure() {
747
747
748
748
# fails with because %e6 is not valid utf-8 percent encoding
749
749
assert_command_fail curl --fail -vv http://localhost:" $PORT " /%e6? canisterId=" $ID "
750
- assert_contains " 500 Internal Server Error "
750
+ assert_contains " 503 Service Unavailable "
751
751
}
752
752
753
753
@test " http_request percent-decodes urls" {
@@ -817,7 +817,7 @@ check_permission_failure() {
817
817
818
818
assert_command_fail curl --fail -vv http://localhost:" $PORT " /%e6? canisterId=" $ID "
819
819
# fails because %e6 is not valid utf-8 percent encoding
820
- assert_contains " 500 Internal Server Error "
820
+ assert_contains " 503 Service Unavailable "
821
821
822
822
assert_command curl --fail -vv http://localhost:" $PORT " /%25? canisterId=" $ID "
823
823
assert_match " 200 OK" " $stderr "
@@ -1640,7 +1640,7 @@ EOF
1640
1640
1641
1641
# However, due to returning the wrong certificate, it fails with Err(InvalidResponseHashes)
1642
1642
# see https://dfinity.atlassian.net/browse/SDK-1246
1643
- assert_contains " 500 Internal Server Error "
1643
+ assert_contains " 503 Service Unavailable "
1644
1644
1645
1645
1646
1646
assert_command dfx canister call e2e_project_frontend set_asset_properties ' ( record { key="/test_alias_file.html"; is_aliased=opt(opt(true)) })'
@@ -1687,7 +1687,7 @@ EOF
1687
1687
1688
1688
# again see # see https://dfinity.atlassian.net/browse/SDK-1246, this should be 404
1689
1689
# assert_match "404 Not Found" "$stderr"
1690
- assert_contains " 500 Internal Server Error "
1690
+ assert_contains " 503 Service Unavailable "
1691
1691
1692
1692
assert_command curl --fail -vv http://localhost:" $PORT " /index_test? canisterId=" $ID "
1693
1693
assert_match " 200 OK" " $stderr "
0 commit comments