Skip to content

Commit e4fbd5f

Browse files
test(features): give service-exposure an explicit testkit harness
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
1 parent 0b42351 commit e4fbd5f

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎tests/suites/features/service-exposure/Cargo.toml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ version = "0.0.0"
88
edition = "2024"
99
rust-version = "1.94"
1010
license = "Apache-2.0"
11-
repository = "https://github.com/NVIDIA/OpenShell"
11+
repository = "https://github.com/ai-openshell/openshell"
1212
publish = false
1313

14+
[[test]]
15+
name = "service_exposure"
16+
path = "tests/service_exposure.rs"
17+
harness = false
18+
1419
[dependencies]
1520
openshell-testkit = { path = "../../../testkit/testkit" }
1621
serde_json = "1"

‎tests/suites/features/service-exposure/tests/service_exposure.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ use std::time::Duration;
1111

1212
use testkit::{Context, Poll, ResultExt as _, poll_until};
1313

14+
fn main() -> std::process::ExitCode {
15+
testkit::main()
16+
}
17+
1418
const SERVICE_PORT: &str = "4500";
1519
const BEARER_TOKEN: &str = "Bearer openshell-e2e-application-token";
1620
/// How long an exposed service may take to start answering, or to apply a

0 commit comments

Comments
 (0)