fix: tests
This commit is contained in:
parent
67f9d5f7cf
commit
9d59085608
2 changed files with 7 additions and 1 deletions
|
@ -83,6 +83,7 @@ mod tests {
|
|||
let target = Target {
|
||||
version: "1".into(),
|
||||
name: "launch_init_containers_works".into(),
|
||||
container_host: Url::parse("http://launch_init_containers_works.service").unwrap(),
|
||||
homepage: Url::parse("https://launch_init_containers_works.example.org").unwrap(),
|
||||
repository: Url::parse("https://launch_init_containers_works.example.org").unwrap(),
|
||||
init_scripts: Some(vec![Test {
|
||||
|
|
|
@ -224,7 +224,12 @@ mod tests {
|
|||
tests: vec![dummy_test.clone(), dummy_test2.clone()],
|
||||
};
|
||||
|
||||
let state = SuiteRunnerState::launch_suite(&suite, AUTH, &ctx);
|
||||
let state = SuiteRunnerState::launch_suite(
|
||||
&Url::parse("http://suite_runner_works.service").unwrap(),
|
||||
&suite,
|
||||
AUTH,
|
||||
&ctx,
|
||||
);
|
||||
assert_eq!(state.tests.len(), 2);
|
||||
std::thread::sleep(std::time::Duration::new(13, 0));
|
||||
|
||||
|
|
Loading…
Reference in a new issue