From cea25c6580e9a23803a446e6ea2550fd4a7a97d9 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 4 Aug 2025 01:07:13 +0000 Subject: [PATCH] docker: Make the complement defaults more accessible. commit newly uncovered tests. Signed-off-by: Jason Volk --- docker/complement.sh | 21 ++++++++++++------- .../complement/test_results.jsonl | 15 ------------- 2 files changed, 13 insertions(+), 23 deletions(-) diff --git a/docker/complement.sh b/docker/complement.sh index a7ad9ef9..47199309 100755 --- a/docker/complement.sh +++ b/docker/complement.sh @@ -15,9 +15,14 @@ default_sys_name="debian" default_sys_target="x86_64-v1-linux-gnu" default_sys_version="testing-slim" -default_run=".*" -run="${1:-$default_run}" +default_complement_verbose=0 +default_complement_count=1 +default_complement_parallel=16 +default_complement_shuffle=0 +default_complement_timeout="1h" +default_complement_run=".*" +run="${1:-$default_complement_run}" skip="" skip="TestPartialStateJoin.*" skip="${skip}|TestRoomDeleteAlias/Pa.*/Can_delete_canonical_alias" @@ -43,13 +48,13 @@ set +a ############################################################################### envs="" -envs="$envs -e complement_verbose=${complement_verbose:-0}" -envs="$envs -e complement_count=${complement_count:-1}" -envs="$envs -e complement_parallel=${complement_parallel:-16}" -envs="$envs -e complement_shuffle=${complement_shuffle:-0}" -envs="$envs -e complement_timeout=${complement_timeout:-1h}" +envs="$envs -e complement_verbose=${complement_verbose:-$default_complement_verbose}" +envs="$envs -e complement_count=${complement_count:-$default_complement_count}" +envs="$envs -e complement_parallel=${complement_parallel:-$default_complement_parallel}" +envs="$envs -e complement_shuffle=${complement_shuffle:-$default_complement_shuffle}" +envs="$envs -e complement_timeout=${complement_timeout:-$default_complement_timeout}" envs="$envs -e complement_skip=${complement_skip:-$skip}" -envs="$envs -e complement_run=${run}" +envs="$envs -e complement_run=${1:-$default_complement_run}" set -x tester_image="complement-tester--${sys_name}--${sys_version}--${sys_target}" diff --git a/tests/test_results/complement/test_results.jsonl b/tests/test_results/complement/test_results.jsonl index de07b661..89c72675 100644 --- a/tests/test_results/complement/test_results.jsonl +++ b/tests/test_results/complement/test_results.jsonl @@ -208,7 +208,6 @@ {"Action":"pass","Test":"TestIsDirectFlagLocal"} {"Action":"pass","Test":"TestJoinFederatedRoomFailOver"} {"Action":"fail","Test":"TestJoinFederatedRoomFromApplicationServiceBridgeUser"} -{"Action":"fail","Test":"TestJoinFederatedRoomFromApplicationServiceBridgeUser/join_remote_federated_room_as_application_service_user"} {"Action":"pass","Test":"TestJoinFederatedRoomWithUnverifiableEvents"} {"Action":"pass","Test":"TestJoinFederatedRoomWithUnverifiableEvents//send_join_response_missing_signatures_shouldn't_block_room_join"} {"Action":"pass","Test":"TestJoinFederatedRoomWithUnverifiableEvents//send_join_response_with_bad_signatures_shouldn't_block_room_join"} @@ -220,20 +219,6 @@ {"Action":"fail","Test":"TestJson/Parallel/Invalid_JSON_special_values"} {"Action":"fail","Test":"TestJson/Parallel/Invalid_numerical_values"} {"Action":"fail","Test":"TestJumpToDateEndpoint"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/federation"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/federation/can_paginate_after_getting_remote_event_from_timestamp_to_event_endpoint"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/federation/looking_backwards,_should_be_able_to_find_event_that_was_sent_before_we_joined"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/federation/looking_forwards,_should_be_able_to_find_event_that_was_sent_before_we_joined"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/federation/when_looking_backwards_before_the_room_was_created,_should_be_able_to_find_event_that_was_imported"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/should_find_event_after_given_timestmap"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/should_find_event_before_given_timestmap"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/should_find_next_event_topologically_after_given_timestmap_when_all_message_timestamps_are_the_same"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/should_find_next_event_topologically_before_given_timestamp_when_all_message_timestamps_are_the_same"} -{"Action":"pass","Test":"TestJumpToDateEndpoint/parallel/should_find_nothing_after_the_latest_timestmap"} -{"Action":"pass","Test":"TestJumpToDateEndpoint/parallel/should_find_nothing_before_the_earliest_timestmap"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/should_not_be_able_to_query_a_private_room_you_are_not_a_member_of"} -{"Action":"fail","Test":"TestJumpToDateEndpoint/parallel/should_not_be_able_to_query_a_public_room_you_are_not_a_member_of"} {"Action":"fail","Test":"TestKeyChangesLocal"} {"Action":"fail","Test":"TestKeyChangesLocal/New_login_should_create_a_device_lists.changed_entry"} {"Action":"fail","Test":"TestKeyClaimOrdering"}