Skip to content

Commit 9385b8b

Browse files
committed
Run just one s2s test for debugging
1 parent 5e3e87c commit 9385b8b

File tree

1 file changed

+40
-38
lines changed

1 file changed

+40
-38
lines changed

big_tests/tests/s2s_SUITE.erl

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -23,60 +23,62 @@
2323

2424
all() ->
2525
[
26-
{group, both_plain},
27-
{group, both_tls_optional}, %% default MongooseIM config
28-
{group, both_tls_required},
29-
{group, both_tls_enforced},
26+
{group, both_plain}
27+
% {group, both_tls_optional}, %% default MongooseIM config
28+
% {group, both_tls_required},
29+
% {group, both_tls_enforced},
3030

31-
{group, node1_tls_optional_node2_tls_required},
32-
{group, node1_tls_required_node2_tls_optional},
31+
% {group, node1_tls_optional_node2_tls_required},
32+
% {group, node1_tls_required_node2_tls_optional},
3333

34-
{group, node1_tls_required_trusted_node2_tls_optional},
35-
{group, node1_tls_optional_node2_tls_required_trusted_with_cachain},
34+
% {group, node1_tls_required_trusted_node2_tls_optional},
35+
% {group, node1_tls_optional_node2_tls_required_trusted_with_cachain},
3636

37-
{group, node1_tls_false_node2_tls_required},
38-
{group, node1_tls_required_node2_tls_false},
37+
% {group, node1_tls_false_node2_tls_required},
38+
% {group, node1_tls_required_node2_tls_false},
3939

40-
{group, dialback}
40+
% {group, dialback}
4141
].
4242

4343
groups() ->
44-
[{both_plain, [], all_tests()},
45-
{both_tls_optional, [], essentials()},
46-
{both_tls_required, [], essentials()},
47-
{both_tls_enforced, [], essentials()},
44+
[{both_plain, [], all_tests()}
45+
% {both_tls_optional, [], essentials()},
46+
% {both_tls_required, [], essentials()},
47+
% {both_tls_enforced, [], essentials()},
4848

49-
{node1_tls_optional_node2_tls_required, [], essentials()},
50-
{node1_tls_required_node2_tls_optional, [], essentials()},
49+
% {node1_tls_optional_node2_tls_required, [], essentials()},
50+
% {node1_tls_required_node2_tls_optional, [], essentials()},
5151

52-
%% Node1 closes connection from nodes with invalid certs
53-
{node1_tls_required_trusted_node2_tls_optional, [], negative()},
52+
% %% Node1 closes connection from nodes with invalid certs
53+
% {node1_tls_required_trusted_node2_tls_optional, [], negative()},
5454

55-
%% Node1 accepts connection provided the cert can be verified
56-
{node1_tls_optional_node2_tls_required_trusted_with_cachain, [parallel],
57-
essentials() ++ connection_cases() ++ start_stream_error_groups()},
55+
% %% Node1 accepts connection provided the cert can be verified
56+
% {node1_tls_optional_node2_tls_required_trusted_with_cachain, [parallel],
57+
% essentials() ++ connection_cases() ++ start_stream_error_groups()},
5858

59-
{node1_tls_false_node2_tls_required, [], negative()},
60-
{node1_tls_required_node2_tls_false, [], negative()},
61-
{dialback, [], [dialback_key_is_synchronized_on_different_nodes]},
59+
% {node1_tls_false_node2_tls_required, [], negative()},
60+
% {node1_tls_required_node2_tls_false, [], negative()},
61+
% {dialback, [], [dialback_key_is_synchronized_on_different_nodes]},
6262

63-
{start_stream_errors, [parallel], start_stream_error_cases()},
64-
{start_stream_errors_after_starttls, [parallel], start_stream_error_cases()},
65-
{start_stream_errors_after_auth, [parallel], start_stream_error_cases()}
63+
% {start_stream_errors, [parallel], start_stream_error_cases()},
64+
% {start_stream_errors_after_starttls, [parallel], start_stream_error_cases()},
65+
% {start_stream_errors_after_auth, [parallel], start_stream_error_cases()}
6666
].
6767

6868
essentials() ->
6969
[simple_message].
7070

7171
all_tests() ->
72-
[connections_info,
73-
dns_srv_discovery,
74-
dns_ip_discovery,
75-
dns_discovery_fail,
76-
nonexistent_user,
77-
unknown_domain,
78-
malformed_jid,
79-
dialback_with_wrong_key].
72+
[
73+
% connections_info,
74+
% dns_srv_discovery,
75+
dns_ip_discovery
76+
% dns_discovery_fail,
77+
% nonexistent_user,
78+
% unknown_domain,
79+
% malformed_jid,
80+
% dialback_with_wrong_key
81+
].
8082

8183
negative() ->
8284
[timeout_waiting_for_message].
@@ -213,14 +215,14 @@ simple_message(Config) ->
213215
escalus:send(Alice1, escalus_stanza:chat_to(Alice2, <<"Hi, foreign Alice!">>)),
214216

215217
%% User on the federated server receives the message
216-
Stanza = escalus:wait_for_stanza(Alice2, 5000),
218+
Stanza = escalus:wait_for_stanza(Alice2, 20000),
217219
escalus:assert(is_chat_message, [<<"Hi, foreign Alice!">>], Stanza),
218220

219221
%% User on the federated server sends a message to the main server
220222
escalus:send(Alice2, escalus_stanza:chat_to(Alice1, <<"Nice to meet you!">>)),
221223

222224
%% User on the main server receives the message
223-
Stanza2 = escalus:wait_for_stanza(Alice1, 5000),
225+
Stanza2 = escalus:wait_for_stanza(Alice1, 20000),
224226
escalus:assert(is_chat_message, [<<"Nice to meet you!">>], Stanza2),
225227

226228
% Instrumentation events are executed

0 commit comments

Comments
 (0)