Skip to content

Commit

Permalink
Remove useless config files for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmgleite committed Jun 19, 2024
1 parent 25b2505 commit 2649ddb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 33 deletions.
22 changes: 11 additions & 11 deletions tests/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ async fn wait_cluster_ready(client: &mut DbClient, n_nodes: usize) {
#[tokio::test]
async fn test_cluster_put_get_success() {
let handles = start_servers(vec![
"tests/conf/test_node_1.json".into(),
"tests/conf/test_node_2.json".into(),
"tests/conf/test_node_3.json".into(),
"tests/conf/test_node_config.json".into(),
"tests/conf/test_node_config.json".into(),
"tests/conf/test_node_config.json".into(),
])
.await;

Expand Down Expand Up @@ -118,9 +118,9 @@ async fn test_cluster_put_get_success() {
#[tokio::test]
async fn test_cluster_key_not_found() {
let handles = start_servers(vec![
"tests/conf/test_node_1.json".into(),
"tests/conf/test_node_2.json".into(),
"tests/conf/test_node_3.json".into(),
"tests/conf/test_node_config.json".into(),
"tests/conf/test_node_config.json".into(),
"tests/conf/test_node_config.json".into(),
])
.await;

Expand Down Expand Up @@ -156,7 +156,7 @@ async fn test_cluster_key_not_found() {

#[tokio::test]
async fn test_cluster_put_no_quorum() {
let handles = start_servers(vec!["tests/conf/test_node_1.json".into()]).await;
let handles = start_servers(vec!["tests/conf/test_node_config.json".into()]).await;

let mut client = DbClient::new(handles[0].client_listener_addr.clone());
client.connect().await.unwrap();
Expand Down Expand Up @@ -191,9 +191,9 @@ async fn test_cluster_put_no_quorum() {
#[tokio::test]
async fn test_cluster_get_no_quorum() {
let mut handles = start_servers(vec![
"tests/conf/test_node_1.json".into(),
"tests/conf/test_node_2.json".into(),
"tests/conf/test_node_3.json".into(),
"tests/conf/test_node_config.json".into(),
"tests/conf/test_node_config.json".into(),
"tests/conf/test_node_config.json".into(),
])
.await;

Expand Down Expand Up @@ -249,7 +249,7 @@ async fn test_cluster_get_no_quorum() {

#[tokio::test]
async fn test_cluster_ping() {
let handles = start_servers(vec!["tests/conf/test_node_1.json".into()]).await;
let handles = start_servers(vec!["tests/conf/test_node_config.json".into()]).await;

let mut client = DbClient::new(handles[0].client_listener_addr.clone());
client.connect().await.unwrap();
Expand Down
11 changes: 0 additions & 11 deletions tests/conf/test_node_2.json

This file was deleted.

11 changes: 0 additions & 11 deletions tests/conf/test_node_3.json

This file was deleted.

File renamed without changes.

0 comments on commit 2649ddb

Please sign in to comment.