Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kkohbrok committed Aug 3, 2023
1 parent a51028c commit 1c09e90
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
4 changes: 0 additions & 4 deletions backend/src/ds/add_users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,6 @@ impl DsGroupState {
{
let fqdn = key_package_batch.homeserver_domain().clone();

tracing::info!(
"Verifying key package batch with key from domain {:?}",
fqdn
);
let key_package_batch: KeyPackageBatch<VERIFIED> =
if let Some(verifying_key) = verifying_keys.get(&fqdn) {
key_package_batch.verify(verifying_key).map_err(|e| {
Expand Down
5 changes: 1 addition & 4 deletions test_harness/src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,11 @@ impl DockerTestBed {
let test_scenario_env_variable = format!("PHNX_TEST_SCENARIO={}", test_scenario_name);

let mut env_variables = vec![test_scenario_env_variable, "TEST_LOG=true".to_owned()];

for (index, server) in self.servers.keys().enumerate() {
env_variables.push(format!("PHNX_SERVER_{}={}", index, server));
}

tracing::info!(
"Running docker image with env variables: {:?}",
env_variables
);
let test_runner_result = run_docker_container(
&image_name,
&container_name,
Expand Down
6 changes: 0 additions & 6 deletions test_harness/src/utils/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,6 @@ impl TestBed {
.expect("User 1 should have created a new conversation");
let conversation = user1_conversations_after.remove(new_conversation_position);
assert!(conversation.status == ConversationStatus::Active);
tracing::info!(
"Conversation type of {} should be {:?}, but is actually {:?}",
user1_name,
ConversationType::UnconfirmedConnection(user2_name.to_bytes()),
conversation.conversation_type,
);
assert!(
conversation.conversation_type
== ConversationType::UnconfirmedConnection(user2_name.to_bytes())
Expand Down

0 comments on commit 1c09e90

Please sign in to comment.