@@ -41,49 +41,67 @@ public class StartTest implements TestkitRequest
41
41
42
42
static
43
43
{
44
- SKIP_PATTERN_TO_REASON .put ( "^.*retry.TestRetryClustering.test_retry_database_unavailable$" , "The test is not applicable to 4.2 driver" );
45
- SKIP_PATTERN_TO_REASON .put ( "^.*retry.TestRetryClustering.test_retry_made_up_transient$" , "The test is not applicable to 4.2 driver" );
46
- SKIP_PATTERN_TO_REASON .put ( "^.*retry.TestRetryClustering.test_retry_ForbiddenOnReadOnlyDatabase$" , "The test is not applicable to 4.2 driver" );
47
- SKIP_PATTERN_TO_REASON .put ( "^.*retry.TestRetryClustering.test_retry_NotALeader$" , "The test is not applicable to 4.2 driver" );
44
+ SKIP_PATTERN_TO_REASON .put ( "^.*retry\\ .TestRetryClustering\\ .test_retry_database_unavailable$" , "The test is not applicable to 4.2 driver" );
45
+ SKIP_PATTERN_TO_REASON .put ( "^.*retry\\ .TestRetryClustering\\ .test_retry_made_up_transient$" , "The test is not applicable to 4.2 driver" );
46
+ SKIP_PATTERN_TO_REASON .put ( "^.*retry\\ .TestRetryClustering\\ .test_retry_ForbiddenOnReadOnlyDatabase$" , "The test is not applicable to 4.2 driver" );
47
+ SKIP_PATTERN_TO_REASON .put ( "^.*retry\\ .TestRetryClustering\\ .test_retry_NotALeader$" , "The test is not applicable to 4.2 driver" );
48
48
SKIP_PATTERN_TO_REASON
49
- .put ( "^.*retry.TestRetryClustering.test_retry_ForbiddenOnReadOnlyDatabase_ChangingWriter$" , "The test is not applicable to 4.2 driver" );
50
- SKIP_PATTERN_TO_REASON .put ( "^.*test_routing_v4x3.RoutingV4x3\\ ..+$" , "The tests are not applicable to 4.2 driver" );
49
+ .put ( "^.*retry\\ .TestRetryClustering\\ .test_retry_ForbiddenOnReadOnlyDatabase_ChangingWriter$" , "The test is not applicable to 4.2 driver" );
50
+ SKIP_PATTERN_TO_REASON .put ( "^.*test_routing_v4x3\\ .RoutingV4x3\\ ..+$" , "The tests are not applicable to 4.2 driver" );
51
51
SKIP_PATTERN_TO_REASON
52
- .put ( "^.+routing.Routing.*\\ .test_should_successfully_get_server_protocol_version$" , "The test is not applicable to 4.2 driver" );
53
- SKIP_PATTERN_TO_REASON .put ( "^.+routing.Routing.*\\ .test_should_successfully_get_server_agent$" , "The test is not applicable to 4.2 driver" );
54
- SKIP_PATTERN_TO_REASON .put ( "^.+disconnects.TestDisconnects.test_client_says_goodbye$" , "This test uses 4.3 Bolt" );
55
- SKIP_PATTERN_TO_REASON .put ( "^.+disconnects.TestDisconnects.test_disconnect_on_hello" , "This test uses 4.3 Bolt" );
56
- SKIP_PATTERN_TO_REASON .put ( "^.+disconnects.TestDisconnects.test_disconnect_after_hello" , "This test uses 4.3 Bolt" );
57
- SKIP_PATTERN_TO_REASON .put ( "^.+disconnects.TestDisconnects.test_disconnect_on_tx_begin" , "The 4.2 driver disconnects after first next" );
58
- SKIP_PATTERN_TO_REASON .put ( "^.+disconnects.TestDisconnects.test_disconnect_on_tx_run" , "The 4.2 driver disconnects after first next" );
59
- SKIP_PATTERN_TO_REASON .put ( "^.+disconnects.TestDisconnects.test_disconnect_session_on_run" , "The 4.2 driver disconnects after first next" );
60
- SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing.NoRouting.test_should_read_successfully_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
52
+ .put ( "^.+routing\\ .Routing.*\\ .test_should_successfully_get_server_protocol_version$" , "The test is not applicable to 4.2 driver" );
53
+ SKIP_PATTERN_TO_REASON .put ( "^.+routing\\ .Routing.*\\ .test_should_successfully_get_server_agent$" , "The test is not applicable to 4.2 driver" );
54
+ SKIP_PATTERN_TO_REASON .put ( "^.+disconnects\\ .TestDisconnects\\ .test_client_says_goodbye$" , "This test uses 4.3 Bolt" );
55
+ SKIP_PATTERN_TO_REASON .put ( "^.+disconnects\\ .TestDisconnects\\ .test_disconnect_on_hello" , "This test uses 4.3 Bolt" );
56
+ SKIP_PATTERN_TO_REASON .put ( "^.+disconnects\\ .TestDisconnects\\ .test_disconnect_after_hello" , "This test uses 4.3 Bolt" );
57
+ SKIP_PATTERN_TO_REASON .put ( "^.+disconnects\\ .TestDisconnects\\ .test_disconnect_on_tx_begin" , "The 4.2 driver disconnects after first next" );
58
+ SKIP_PATTERN_TO_REASON .put ( "^.+disconnects\\ .TestDisconnects\\ .test_disconnect_on_tx_run" , "The 4.2 driver disconnects after first next" );
59
+ SKIP_PATTERN_TO_REASON .put ( "^.+disconnects\\ .TestDisconnects\\ .test_disconnect_session_on_run" , "The 4.2 driver disconnects after first next" );
60
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing\\ .NoRouting\\ .test_should_read_successfully_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
61
61
SKIP_PATTERN_TO_REASON
62
- .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
63
- SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_session_run_with_default_db_driver" ,
62
+ .put ( "^.+test_routing_v3\\ .RoutingV3\\ .test_should_read_successfully_from_reader_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
63
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3\\ .RoutingV3\\ .test_should_read_successfully_from_reader_using_session_run_with_default_db_driver" ,
64
64
SERVER_INFO_SKIP_REASON_MESSAGE );
65
65
SKIP_PATTERN_TO_REASON
66
- .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
67
- SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
66
+ .put ( "^.+test_routing_v3\\ .RoutingV3\\ .test_should_read_successfully_from_reader_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
67
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3\\ .RoutingV3\\ .test_should_read_successfully_from_reader_using_tx_run" ,
68
+ SERVER_INFO_SKIP_REASON_MESSAGE );
68
69
SKIP_PATTERN_TO_REASON
69
- .put ( "^.+test_routing_v3.RoutingV3.test_should_write_successfully_on_writer_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
70
+ .put ( "^.+test_routing_v3\\ .RoutingV3\\ .test_should_write_successfully_on_writer_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
70
71
SKIP_PATTERN_TO_REASON
71
- .put ( "^.+test_routing_v3.RoutingV3.test_should_write_successfully_on_writer_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
72
- SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3.RoutingV3.test_should_write_successfully_on_writer_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
72
+ .put ( "^.+test_routing_v3\\ .RoutingV3\\ .test_should_write_successfully_on_writer_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
73
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3\\ .RoutingV3\\ .test_should_write_successfully_on_writer_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
73
74
SKIP_PATTERN_TO_REASON
74
- .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_read_successfully_from_reader_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
75
+ .put ( "^.+test_routing_v4x1\\ .RoutingV4x1\\ .test_should_read_successfully_from_reader_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
75
76
SKIP_PATTERN_TO_REASON
76
- .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_read_successfully_from_reader_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
77
+ .put ( "^.+test_routing_v4x1\\ .RoutingV4x1\\ .test_should_read_successfully_from_reader_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
77
78
SKIP_PATTERN_TO_REASON
78
- .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_read_successfully_from_reader_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
79
+ .put ( "^.+test_routing_v4x1\\ .RoutingV4x1\\ .test_should_read_successfully_from_reader_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
79
80
SKIP_PATTERN_TO_REASON
80
- .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_write_successfully_on_writer_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
81
+ .put ( "^.+test_routing_v4x1\\ .RoutingV4x1\\ .test_should_write_successfully_on_writer_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
81
82
SKIP_PATTERN_TO_REASON
82
- .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_write_successfully_on_writer_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
83
- SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_write_successfully_on_writer_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
84
- SKIP_PATTERN_TO_REASON .put ( "^.+versions.TestProtocolVersions.test_server_agent" , SERVER_INFO_SKIP_REASON_MESSAGE );
85
- SKIP_PATTERN_TO_REASON .put ( "^.+versions.TestProtocolVersions.test_server_version" , SERVER_INFO_SKIP_REASON_MESSAGE );
86
- SKIP_PATTERN_TO_REASON .put ( "^.+test_retry.TestRetry.test_no_retry_on_syntax_error$" , "This test uses 4.3 Bolt" );
83
+ .put ( "^.+test_routing_v4x1\\ .RoutingV4x1\\ .test_should_write_successfully_on_writer_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
84
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v4x1\\ .RoutingV4x1\\ .test_should_write_successfully_on_writer_using_tx_run" ,
85
+ SERVER_INFO_SKIP_REASON_MESSAGE );
86
+ SKIP_PATTERN_TO_REASON .put ( "^.+versions\\ .TestProtocolVersions\\ .test_server_agent" , SERVER_INFO_SKIP_REASON_MESSAGE );
87
+ SKIP_PATTERN_TO_REASON .put ( "^.+versions\\ .TestProtocolVersions\\ .test_server_version" , SERVER_INFO_SKIP_REASON_MESSAGE );
88
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_retry\\ .TestRetry\\ .test_no_retry_on_syntax_error$" , "This test uses 4.3 Bolt" );
89
+ String skipReason = "Skipped because it needs investigation" ;
90
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_should_fail_when_driver_closed_using_session_run$" , skipReason );
91
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_accept_noop_during_records_streaming$" , skipReason );
92
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_check_multi_db_support$" , skipReason );
93
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_error_on_commit_failure_using_tx_commit$" , skipReason );
94
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_error_on_database_shutdown_using_tx_commit$" , skipReason );
95
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_error_on_database_shutdown_using_tx_run$" , skipReason );
96
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_error_on_rollback_failure_using_session_close$" , skipReason );
97
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_error_on_rollback_failure_using_tx_rollback$" , skipReason );
98
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_exclude_routing_context$" , skipReason );
99
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_read_successfully_using_read_session_run$" , skipReason );
100
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_read_successfully_using_write_session_run$" , skipReason );
101
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v3\\ .NoRoutingV3\\ .test_should_send_custom_user_agent_using_write_session_run$" , skipReason );
102
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing_v4x1\\ .NoRoutingV4x1\\ ..*$" , skipReason );
103
+ SKIP_PATTERN_TO_REASON .put ( "^.+TestProtocolVersions\\ .test_should_reject_server_using_verify_connectivity_bolt_3x0$" , skipReason );
104
+ SKIP_PATTERN_TO_REASON .put ( "^.+TestProtocolVersions\\ .test_supports_bolt_4x3$" , skipReason );
87
105
}
88
106
89
107
private StartTestBody data ;
0 commit comments