Skip to content

Commit 901a817

Browse files
committed
refactor: [#220] update imports to use external_validators path
1 parent e86fe48 commit 901a817

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/application/command_handlers/test/handler.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ use super::errors::TestCommandHandlerError;
4242
use crate::adapters::ssh::SshConfig;
4343
use crate::domain::environment::repository::{EnvironmentRepository, TypedEnvironmentRepository};
4444
use crate::domain::EnvironmentName;
45-
use crate::infrastructure::remote_actions::{RemoteAction, RunningServicesValidator};
45+
use crate::infrastructure::external_validators::RunningServicesValidator;
46+
use crate::infrastructure::remote_actions::RemoteAction;
4647

4748
/// `TestCommandHandler` orchestrates smoke testing for running Torrust Tracker services
4849
///

src/infrastructure/remote_actions/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
//! For external validation (E2E testing from outside the VM), see `external_validators/`.
1111
//!
1212
//! **Distinction**:
13-
//! - **remote_actions** (this module): Execute commands inside VM via SSH
14-
//! - **external_validators**: Validate services from outside VM via HTTP
13+
//! - **`remote_actions`** (this module): Execute commands inside VM via SSH
14+
//! - **`external_validators`**: Validate services from outside VM via HTTP
1515
//!
1616
//! ## Available Remote Actions
1717
//!

src/testing/e2e/tasks/run_run_validation.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ use tracing::info;
5858

5959
use crate::adapters::ssh::SshConfig;
6060
use crate::adapters::ssh::SshCredentials;
61-
use crate::infrastructure::remote_actions::{
62-
RemoteAction, RemoteActionError, RunningServicesValidator,
63-
};
61+
use crate::infrastructure::external_validators::RunningServicesValidator;
62+
use crate::infrastructure::remote_actions::{RemoteAction, RemoteActionError};
6463

6564
/// Errors that can occur during run validation
6665
#[derive(Debug, Error)]

0 commit comments

Comments
 (0)