Skip to content

Commit

Permalink
fix test build
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Jan 19, 2024
1 parent 8328daa commit e0c6afa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plane/plane-tests/tests/backend_actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ mod common;
/// Return a dummy connect request, which does not use a key.
fn connect_request(cluster: &ClusterName) -> ConnectRequest {
ConnectRequest {
cluster: Some(cluster.clone()),
spawn_config: Some(SpawnConfig {
cluster: Some(cluster.clone()),
executable: ExecutorConfig::from_image_with_defaults("alpine"),
lifetime_limit_seconds: None,
max_idle_seconds: None,
Expand Down
2 changes: 1 addition & 1 deletion plane/plane-tests/tests/backend_lifecycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ async fn backend_lifecycle(env: TestEnvironment) {

tracing::info!("Requesting backend.");
let connect_request = ConnectRequest {
cluster: Some(env.cluster.clone()),
spawn_config: Some(SpawnConfig {
cluster: Some(env.cluster.clone()),
executable: ExecutorConfig {
image: "ghcr.io/drifting-in-space/demo-image-drop-four".to_string(),
pull_policy: Some(PullPolicy::IfNotPresent),
Expand Down
2 changes: 1 addition & 1 deletion plane/plane-tests/tests/backend_status_in_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ async fn backend_status_in_response(env: TestEnvironment) {

tracing::info!("Requesting backend.");
let connect_request = ConnectRequest {
cluster: Some(env.cluster.clone()),
spawn_config: Some(SpawnConfig {
cluster: Some(env.cluster.clone()),
executable: ExecutorConfig {
image: "ghcr.io/drifting-in-space/demo-image-drop-four".to_string(),
pull_policy: Some(PullPolicy::IfNotPresent),
Expand Down
2 changes: 1 addition & 1 deletion plane/plane-tests/tests/reuse_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ async fn reuse_key(env: TestEnvironment) {

tracing::info!("Requesting backend.");
let connect_request = ConnectRequest {
cluster: Some(env.cluster.clone()),
spawn_config: Some(SpawnConfig {
cluster: Some(env.cluster.clone()),
executable: ExecutorConfig {
image: "ghcr.io/drifting-in-space/demo-image-drop-four".to_string(),
pull_policy: Some(PullPolicy::IfNotPresent),
Expand Down

0 comments on commit e0c6afa

Please sign in to comment.