-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosen matchers on integration tests to reduce failures
- Loading branch information
1 parent
00deb4d
commit bf95f61
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,14 +102,14 @@ fn test_general_usage_output() { | |
assert_contains!(ctx.pack_stdout, "Virtual package `libvips` is provided by `[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "Skipping `libvips42` because `[email protected]` is already installed on the system"); | ||
assert_contains!(ctx.pack_stdout, "Determining install requirements for requested package `curl`"); | ||
assert_contains!(ctx.pack_stdout, "Adding `[email protected]1ubuntu1.18` (forced)"); | ||
assert_contains_match!(ctx.pack_stdout, "Adding `[email protected].*` \\(forced\\)"); | ||
|
||
assert_contains!(ctx.pack_stdout, "## Installing packages"); | ||
assert_contains!(ctx.pack_stdout, "Requesting packages"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgwenhywfar/libgwenhywfar79_5.9.0-1_amd64.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgwenhywfar/libgwenhywfar-data_5.9.0-1_all.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://archive.ubuntu.com/ubuntu/pool/main/x/xmlsec1/xmlsec1_1.2.33-1build2_amd64.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]1ubuntu1.18` from http://archive.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.81.0-1ubuntu1.18_amd64.deb"); | ||
assert_contains_match!(ctx.pack_stdout, "`[email protected].*` from http://archive.ubuntu.com/ubuntu/pool/main/c/curl/curl_7.81.0-.*_amd64.deb"); | ||
assert_contains!(ctx.pack_stdout, "Downloading"); | ||
assert_contains!(ctx.pack_stdout, "Installation complete"); | ||
|
||
|
@@ -159,14 +159,14 @@ fn test_general_usage_output() { | |
assert_contains!(ctx.pack_stdout, "Virtual package `libvips` is provided by `[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "Skipping `libvips42t64` because `[email protected]` is already installed on the system"); | ||
assert_contains!(ctx.pack_stdout, "Determining install requirements for requested package `curl`"); | ||
assert_contains!(ctx.pack_stdout, "Adding `[email protected]2ubuntu10.4` (forced)"); | ||
assert_contains_match!(ctx.pack_stdout, "Adding `[email protected].*` \\(forced\\)"); | ||
|
||
assert_contains!(ctx.pack_stdout, "## Installing packages"); | ||
assert_contains!(ctx.pack_stdout, "Requesting packages"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgwenhywfar/libgwenhywfar79t64_5.10.2-2.1build4_amd64.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://archive.ubuntu.com/ubuntu/pool/universe/libg/libgwenhywfar/libgwenhywfar-data_5.10.2-2.1build4_all.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://archive.ubuntu.com/ubuntu/pool/main/x/xmlsec1/xmlsec1_1.2.39-5build2_amd64.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]2ubuntu10.4` from http://security.ubuntu.com/ubuntu/pool/main/c/curl/curl_8.5.0-2ubuntu10.4_amd64.deb"); | ||
assert_contains_match!(ctx.pack_stdout, "`[email protected].*` from http://security.ubuntu.com/ubuntu/pool/main/c/curl/curl_8.5.0-.*_amd64.deb"); | ||
assert_contains!(ctx.pack_stdout, "Downloading"); | ||
assert_contains!(ctx.pack_stdout, "Installation complete"); | ||
|
||
|
@@ -216,14 +216,14 @@ fn test_general_usage_output() { | |
assert_contains!(ctx.pack_stdout, "Virtual package `libvips` is provided by `[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "Skipping `libvips42t64` because `[email protected]` is already installed on the system"); | ||
assert_contains!(ctx.pack_stdout, "Determining install requirements for requested package `curl`"); | ||
assert_contains!(ctx.pack_stdout, "Adding `[email protected]2ubuntu10.4` (forced)"); | ||
assert_contains_match!(ctx.pack_stdout, "Adding `[email protected].*` \\(forced\\)"); | ||
|
||
assert_contains!(ctx.pack_stdout, "## Installing packages"); | ||
assert_contains!(ctx.pack_stdout, "Requesting packages"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://ports.ubuntu.com/ubuntu-ports/pool/universe/libg/libgwenhywfar/libgwenhywfar79t64_5.10.2-2.1build4_arm64.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://ports.ubuntu.com/ubuntu-ports/pool/universe/libg/libgwenhywfar/libgwenhywfar-data_5.10.2-2.1build4_all.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]` from http://ports.ubuntu.com/ubuntu-ports/pool/main/x/xmlsec1/xmlsec1_1.2.39-5build2_arm64.deb"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]2ubuntu10.4` from http://ports.ubuntu.com/ubuntu-ports/pool/main/c/curl/curl_8.5.0-2ubuntu10.4_arm64.deb"); | ||
assert_contains_match!(ctx.pack_stdout, "`[email protected].*` from http://ports.ubuntu.com/ubuntu-ports/pool/main/c/curl/curl_8.5.0-.*_arm64.deb"); | ||
assert_contains!(ctx.pack_stdout, "Downloading"); | ||
assert_contains!(ctx.pack_stdout, "Installation complete"); | ||
|
||
|
@@ -282,7 +282,7 @@ fn test_general_usage_output_on_rebuild() { | |
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]1ubuntu1.18`"); | ||
assert_contains_match!(ctx.pack_stdout, "`[email protected].*`"); | ||
} | ||
("heroku/builder:24", "amd64") => { | ||
assert_contains_match!(ctx.pack_stdout, r"Restored release file from cache \(http://archive.ubuntu.com/ubuntu/dists/noble/InRelease\)"); | ||
|
@@ -299,7 +299,7 @@ fn test_general_usage_output_on_rebuild() { | |
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]2ubuntu10.4`"); | ||
assert_contains_match!(ctx.pack_stdout, "`[email protected].*`"); | ||
} | ||
("heroku/builder:24", "arm64") => { | ||
assert_contains_match!(ctx.pack_stdout, r"Restored release file from cache \(http://ports.ubuntu.com/ubuntu-ports/dists/noble/InRelease\)"); | ||
|
@@ -316,7 +316,7 @@ fn test_general_usage_output_on_rebuild() { | |
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]`"); | ||
assert_contains!(ctx.pack_stdout, "`[email protected]2ubuntu10.4`"); | ||
assert_contains_match!(ctx.pack_stdout, "`[email protected].*`"); | ||
} | ||
_ => panic_unsupported_test_configuration(), | ||
} | ||
|