@@ -36,6 +36,9 @@ public class StartTest implements TestkitRequest
36
36
{
37
37
private static final Map <String ,String > SKIP_PATTERN_TO_REASON = new LinkedHashMap <>();
38
38
39
+ private static final String SERVER_INFO_SKIP_REASON_MESSAGE =
40
+ "The 4.2 driver backend does not provide server info and its properties were changed in 4.3 drivers" ;
41
+
39
42
static
40
43
{
41
44
SKIP_PATTERN_TO_REASON .put ( "^.*retry.TestRetryClustering.test_retry_database_unavailable$" , "The test is not applicable to 4.2 driver" );
@@ -44,10 +47,37 @@ public class StartTest implements TestkitRequest
44
47
SKIP_PATTERN_TO_REASON .put ( "^.*retry.TestRetryClustering.test_retry_NotALeader$" , "The test is not applicable to 4.2 driver" );
45
48
SKIP_PATTERN_TO_REASON
46
49
.put ( "^.*retry.TestRetryClustering.test_retry_ForbiddenOnReadOnlyDatabase_ChangingWriter$" , "The test is not applicable to 4.2 driver" );
47
- SKIP_PATTERN_TO_REASON .put ( "^.*routing.Routing \\ ..+$" , "The tests are 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" );
48
51
SKIP_PATTERN_TO_REASON
49
52
.put ( "^.+routing.Routing.*\\ .test_should_successfully_get_server_protocol_version$" , "The test is not applicable to 4.2 driver" );
50
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_after_hello" , "This test uses 4.3 Bolt" );
56
+ SKIP_PATTERN_TO_REASON .put ( "^.+disconnects.TestDisconnects.*\\ .test_disconnect_on_tx_begin" , "The 4.2 driver disconnects after first next" );
57
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_no_routing.NoRouting.test_should_read_successfully_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
58
+ SKIP_PATTERN_TO_REASON
59
+ .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
60
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_session_run_with_default_db_driver" ,
61
+ SERVER_INFO_SKIP_REASON_MESSAGE );
62
+ SKIP_PATTERN_TO_REASON
63
+ .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
64
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3.RoutingV3.test_should_read_successfully_from_reader_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
65
+ SKIP_PATTERN_TO_REASON
66
+ .put ( "^.+test_routing_v3.RoutingV3.test_should_write_successfully_on_writer_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
67
+ SKIP_PATTERN_TO_REASON
68
+ .put ( "^.+test_routing_v3.RoutingV3.test_should_write_successfully_on_writer_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
69
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v3.RoutingV3.test_should_write_successfully_on_writer_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
70
+ SKIP_PATTERN_TO_REASON
71
+ .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_read_successfully_from_reader_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
72
+ SKIP_PATTERN_TO_REASON
73
+ .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_read_successfully_from_reader_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
74
+ SKIP_PATTERN_TO_REASON
75
+ .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_read_successfully_from_reader_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
76
+ SKIP_PATTERN_TO_REASON
77
+ .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_write_successfully_on_writer_using_session_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
78
+ SKIP_PATTERN_TO_REASON
79
+ .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_write_successfully_on_writer_using_tx_function" , SERVER_INFO_SKIP_REASON_MESSAGE );
80
+ SKIP_PATTERN_TO_REASON .put ( "^.+test_routing_v4x1.RoutingV4x1.test_should_write_successfully_on_writer_using_tx_run" , SERVER_INFO_SKIP_REASON_MESSAGE );
51
81
}
52
82
53
83
private StartTestBody data ;
0 commit comments