Skip to content

Commit 9edb685

Browse files
test(conformance): use the shared sandbox clients in the network suites
Replace conformance's support module and generic client scripts with testkit's run_python, last_json, policy readers, providers and binaries_yaml, and the connect, http and http_raw probes. Protocol and specialized clients move to the sandbox-clients scripts module. The pipelined request tests now count every response in the reply; the 403 follows the first response's body with no line break, so the old line-based count missed it. The policy update tests use the Python image, which has the sandbox user the base policy runs as. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
1 parent ca0a8ef commit 9edb685

12 files changed

Lines changed: 600 additions & 334 deletions

File tree

‎tests/suites/conformance/Cargo.lock‎

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tests/suites/conformance/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ test = false
2222

2323
[dependencies]
2424
host-server-support = { path = "../../support/host-server" }
25+
sandbox-clients-support = { path = "../../support/sandbox-clients" }
2526
openshell-crypto = { path = "../../../crates/openshell-crypto" }
2627
openshell-testkit = { path = "../../testkit/testkit" }
2728
serde_json = "1"

0 commit comments

Comments
 (0)