Skip to content

Bump jnr dependencies versions (#346) #694

Bump jnr dependencies versions (#346)

Bump jnr dependencies versions (#346) #694

GitHub Actions / Test report failed Sep 23, 2024 in 0s

1756 passed, 2 failed and 240 skipped

Tests failed

Report Passed Failed Skipped Time
cassandra-3.11.17/driver-core/target/surefire-reports/TEST-TestSuite.xml 762✅ 117⚪ 1000ms
cassandra-3.11.17/driver-mapping/target/surefire-reports/TEST-TestSuite.xml 116✅ 1❌ 3⚪ 128s
driver-core/target/surefire-reports/TEST-TestSuite.xml 762✅ 117⚪ 1000ms
driver-mapping/target/surefire-reports/TEST-TestSuite.xml 116✅ 1❌ 3⚪ 128s

✅ cassandra-3.11.17/driver-core/target/surefire-reports/TEST-TestSuite.xml

879 tests were completed in 1000ms with 762 passed, 0 failed and 117 skipped.

Test suite Passed Failed Skipped Time
TestSuite 762✅ 117⚪ 1000ms

❌ cassandra-3.11.17/driver-mapping/target/surefire-reports/TEST-TestSuite.xml

120 tests were completed in 128s with 116 passed, 1 failed and 3 skipped.

Test suite Passed Failed Skipped Time
TestSuite 116✅ 1❌ 3⚪ 128s

❌ TestSuite

com.datastax.driver.mapping.MapperAccessorParamsTest
  ✅ should_allow_less_parameters_than_bind_markers_if_there_are_repeated_names
  ✅ should_fail_if_not_enough_parameters
  ✅ should_fail_if_too_many_parameters
  ✅ should_fail_if_wrong_parameter_type
com.datastax.driver.mapping.MapperKeyspaceTest
  ✅ should_fail_if_no_keyspace_provided
  ✅ should_use_annotation_keyspace
  ✅ should_use_keyspace_provided_when_creating_mapper
  ✅ should_use_session_keyspace
com.datastax.driver.mapping.MapperSaveNullFieldsTest
  ✅ should_ignore_null_fields_if_requested
  ✅ should_order_save_query_prepared_statement_columns_consistently
  ✅ should_save_null_fields_by_default
  ✅ should_save_null_fields_if_requested
com.datastax.driver.mapping.SyntheticFieldsMapperTest
  ✅ should_ignore_synthetic_fields
com.datastax.driver.mapping.MapperAccessorTest
  ✅ should_allow_null_argument_in_accessor_when_set_by_index
  ✅ should_allow_null_argument_in_accessor_when_set_by_name
  ✅ should_allow_void_return_type_in_accessor
  ✅ should_implement_equals_and_hashCode
  ✅ should_implement_toString
com.datastax.driver.mapping.MapperMaterializedViewTest
  ✅ should_access_filtered_user_high
  ✅ should_access_mapped_materialized_view
  ✅ should_access_mapped_result
  ✅ should_access_mapped_result_range
  ✅ should_access_single_entity
com.datastax.driver.mapping.MapperTest
  ✅ should_fail_to_create_mapper_if_class_has_column_not_in_table
  ✅ should_fail_to_create_mapper_if_table_does_not_exist
  ❌ should_fail_when_io_thread_used
	java.lang.AssertionError: Expected a failed future, callback was executed on Thread[cluster7-worker-2,5,main]
  ✅ should_flag_all_mapper_generated_statements_as_idempotent
  ✅ should_flag_statement_as_idempotent
  ✅ should_flag_statement_as_non_idempotent
  ✅ should_flag_statement_with_null_idempotence
  ✅ should_map_objects_from_partial_queries
  ✅ should_not_initialize_session_when_protocol_version_provided
  ✅ should_return_table_metadata
  ✅ testDynamicEntity
  ✅ testStaticEntity
com.datastax.driver.mapping.UDTFieldMapperTest
  ✅ udt_and_tables_with_ks_created_in_another_session_should_be_mapped
  ✅ udt_and_tables_without_ks_created_in_another_session_should_be_mapped
com.datastax.driver.mapping.MapperAsyncResultTest
  ✅ should_iterate_multi_page_result_set_asynchronously
  ✅ should_iterate_single_page_result_set_asynchronously
com.datastax.driver.mapping.MapperNestedCollectionsTest
  ✅ should_map_accessor_params_to_nested_collections
  ✅ should_map_fields_to_nested_collections
com.datastax.driver.mapping.MapperUDTCollectionsTest
  ✅ should_be_able_to_create_entity_from_table_having_tuple_with_udt
  ✅ testCollections
  ✅ testNullCollection
com.datastax.driver.mapping.MapperAsyncTest
  ✅ should_get_query_async_without_blocking
com.datastax.driver.mapping.MapperNestedUDTTest
  ✅ should_be_able_to_create_entity_from_table_having_udt_with_nested_udt
com.datastax.driver.mapping.MapperUDTTest
  ✅ should_be_able_to_use_udtCodec_standalone
  ✅ should_fail_to_create_codec_if_class_has_field_not_in_udt
  ✅ should_fail_to_create_codec_if_udt_does_not_exist
  ✅ should_fail_to_create_mapper_if_class_has_udt_field_class_that_has_field_not_in_udt
  ✅ should_format_mapped_udt
  ✅ should_handle_null_UDT_value
  ✅ should_parse_mapped_udt
  ✅ should_throw_error_when_table_is_altered_and_is_not_compatible_anymore
  ✅ should_throw_error_when_table_is_dropped
  ✅ should_throw_error_when_udt_is_altered_and_is_not_compatible_anymore
  ✅ should_work_normally_when_udt_is_altered_but_remains_compatible
  ✅ should_work_normally_when_when_table_is_altered_but_remains_compatible
  ✅ testAccessor
  ✅ testSimpleEntity
com.datastax.driver.mapping.MapperCaseSensitivityTest
  ✅ should_handle_case_sensitive_identifiers_when_keyspace_specified
  ✅ should_handle_case_sensitive_identifiers_without_keyspace_specified
com.datastax.driver.mapping.MapperOptionTest
  ✅ should_fail_if_option_does_not_apply_to_query
  ✅ should_fail_when_using_if_not_exists_on_delete_query
  ✅ should_fail_when_using_if_not_exists_on_get_query
  ⚪ should_fail_when_using_timestamp_with_protocol_v1
  ⚪ should_fail_when_using_ttl_with_protocol_v1
  ✅ should_prioritize_option_over_model_consistency
  ✅ should_use_default_options
  ✅ should_use_delete_options
  ✅ should_use_delete_options_for_all_variants
  ✅ should_use_explicit_options_over_default_options
  ✅ should_use_get_options
  ✅ should_use_get_options_for_all_variants
  ✅ should_use_if_not_exists_option
  ✅ should_use_options_only_once
  ✅ should_use_save_options
  ✅ should_use_save_options_for_all_variants
com.datastax.driver.mapping.MappingConfigurationHierarchyScanStrategyTest
  ✅ should_inherit_annotations_up_to_highest_ancestor_excluded
  ✅ should_inherit_annotations_up_to_highest_ancestor_included
  ✅ should_not_inherit_annotations_when_hierarchy_scan_disabled
com.datastax.driver.mapping.MapperCompositeKeyTest
  ✅ testCreateMapper
com.datastax.driver.mapping.MapperPolymorphismTest
  ✅ should_save_and_retrieve_circle
  ✅ should_save_and_retrieve_rectangle
  ✅ should_save_and_retrieve_sphere
  ✅ should_save_and_retrieve_square
com.datastax.driver.mapping.MappingConfigurationNamingStrategyTest
  ✅ should_apply_naming_strategy_to_udts
  ✅ should_apply_naming_strategy_when_mapping_from_accessor_result
  ✅ should_override_naming_strategy_with_column_annotation_name_fields
  ✅ should_override_naming_strategy_with_column_annotation_name_getters
  ✅ should_use_naming_strategy_fields
  ✅ should_use_naming_strategy_getters_and_setters
com.datastax.driver.mapping.MapperComputedFieldsTest
  ✅ should_add_aliases_for_fields_in_select_queries
  ✅ should_fail_if_computed_field_is_not_right_type
  ✅ should_fail_if_computed_field_marked_with_column_annotation
  ⚪ should_get_unsupported_operation_exception_on_v1
  ✅ should_map_aliased_resultset_to_objects
  ✅ should_map_unaliased_resultset_to_objects
  ✅ should_save_and_get_entity_with_computed_fields
com.datastax.driver.mapping.MapperPrimitiveTypes22Test
  ✅ testWriteRead22
com.datastax.driver.mapping.MappingConfigurationPropertyAccessTest
  ✅ should_ignore_fields
  ✅ should_ignore_getters
  ✅ should_map_fields_and_getters
com.datastax.driver.mapping.MapperCustomCodecTest
  ✅ should_be_able_to_use_parameterized_type
  ✅ should_fail_when_invalid_codec_type_mapping
  ✅ should_fail_when_invalid_codec_type_mapping_in_accessor
  ✅ should_fail_when_invalid_codec_with_no_default_ctor_provided
  ✅ should_fail_when_invalid_codec_with_no_default_ctor_provided_in_accessor
  ✅ should_use_custom_codecs_in_UDTs
  ✅ should_use_custom_codecs_in_nested_structures
  ✅ should_use_custom_codecs_with_accessors
  ✅ should_use_custom_codecs_with_basic_operations
com.datastax.driver.mapping.MapperPrimitiveTypesTest
  ✅ testWriteRead
com.datastax.driver.mapping.MappingConfigurationTransienceStrategyTest
  ✅ should_map_only_annotated
  ✅ should_map_only_non_transient
com.datastax.driver.mapping.MapperGroovyTest
  ✅ should_map_groovy_class
com.datastax.driver.mapping.MappingConfigurationTransientTest
  ✅ should_ignore_property_if_declared_transient_in_mapper_configuration
  ✅ should_ignore_property_if_field_annotated_transient
  ✅ should_ignore_property_if_field_has_transient_modifier
  ✅ should_ignore_property_if_getter_annotated_transient

✅ driver-core/target/surefire-reports/TEST-TestSuite.xml

879 tests were completed in 1000ms with 762 passed, 0 failed and 117 skipped.

Test suite Passed Failed Skipped Time
TestSuite 762✅ 117⚪ 1000ms

❌ driver-mapping/target/surefire-reports/TEST-TestSuite.xml

120 tests were completed in 128s with 116 passed, 1 failed and 3 skipped.

Test suite Passed Failed Skipped Time
TestSuite 116✅ 1❌ 3⚪ 128s

❌ TestSuite

com.datastax.driver.mapping.MapperAccessorParamsTest
  ✅ should_allow_less_parameters_than_bind_markers_if_there_are_repeated_names
  ✅ should_fail_if_not_enough_parameters
  ✅ should_fail_if_too_many_parameters
  ✅ should_fail_if_wrong_parameter_type
com.datastax.driver.mapping.MapperKeyspaceTest
  ✅ should_fail_if_no_keyspace_provided
  ✅ should_use_annotation_keyspace
  ✅ should_use_keyspace_provided_when_creating_mapper
  ✅ should_use_session_keyspace
com.datastax.driver.mapping.MapperSaveNullFieldsTest
  ✅ should_ignore_null_fields_if_requested
  ✅ should_order_save_query_prepared_statement_columns_consistently
  ✅ should_save_null_fields_by_default
  ✅ should_save_null_fields_if_requested
com.datastax.driver.mapping.SyntheticFieldsMapperTest
  ✅ should_ignore_synthetic_fields
com.datastax.driver.mapping.MapperAccessorTest
  ✅ should_allow_null_argument_in_accessor_when_set_by_index
  ✅ should_allow_null_argument_in_accessor_when_set_by_name
  ✅ should_allow_void_return_type_in_accessor
  ✅ should_implement_equals_and_hashCode
  ✅ should_implement_toString
com.datastax.driver.mapping.MapperMaterializedViewTest
  ✅ should_access_filtered_user_high
  ✅ should_access_mapped_materialized_view
  ✅ should_access_mapped_result
  ✅ should_access_mapped_result_range
  ✅ should_access_single_entity
com.datastax.driver.mapping.MapperTest
  ✅ should_fail_to_create_mapper_if_class_has_column_not_in_table
  ✅ should_fail_to_create_mapper_if_table_does_not_exist
  ❌ should_fail_when_io_thread_used
	java.lang.AssertionError: Expected a failed future, callback was executed on Thread[cluster7-worker-2,5,main]
  ✅ should_flag_all_mapper_generated_statements_as_idempotent
  ✅ should_flag_statement_as_idempotent
  ✅ should_flag_statement_as_non_idempotent
  ✅ should_flag_statement_with_null_idempotence
  ✅ should_map_objects_from_partial_queries
  ✅ should_not_initialize_session_when_protocol_version_provided
  ✅ should_return_table_metadata
  ✅ testDynamicEntity
  ✅ testStaticEntity
com.datastax.driver.mapping.UDTFieldMapperTest
  ✅ udt_and_tables_with_ks_created_in_another_session_should_be_mapped
  ✅ udt_and_tables_without_ks_created_in_another_session_should_be_mapped
com.datastax.driver.mapping.MapperAsyncResultTest
  ✅ should_iterate_multi_page_result_set_asynchronously
  ✅ should_iterate_single_page_result_set_asynchronously
com.datastax.driver.mapping.MapperNestedCollectionsTest
  ✅ should_map_accessor_params_to_nested_collections
  ✅ should_map_fields_to_nested_collections
com.datastax.driver.mapping.MapperUDTCollectionsTest
  ✅ should_be_able_to_create_entity_from_table_having_tuple_with_udt
  ✅ testCollections
  ✅ testNullCollection
com.datastax.driver.mapping.MapperAsyncTest
  ✅ should_get_query_async_without_blocking
com.datastax.driver.mapping.MapperNestedUDTTest
  ✅ should_be_able_to_create_entity_from_table_having_udt_with_nested_udt
com.datastax.driver.mapping.MapperUDTTest
  ✅ should_be_able_to_use_udtCodec_standalone
  ✅ should_fail_to_create_codec_if_class_has_field_not_in_udt
  ✅ should_fail_to_create_codec_if_udt_does_not_exist
  ✅ should_fail_to_create_mapper_if_class_has_udt_field_class_that_has_field_not_in_udt
  ✅ should_format_mapped_udt
  ✅ should_handle_null_UDT_value
  ✅ should_parse_mapped_udt
  ✅ should_throw_error_when_table_is_altered_and_is_not_compatible_anymore
  ✅ should_throw_error_when_table_is_dropped
  ✅ should_throw_error_when_udt_is_altered_and_is_not_compatible_anymore
  ✅ should_work_normally_when_udt_is_altered_but_remains_compatible
  ✅ should_work_normally_when_when_table_is_altered_but_remains_compatible
  ✅ testAccessor
  ✅ testSimpleEntity
com.datastax.driver.mapping.MapperCaseSensitivityTest
  ✅ should_handle_case_sensitive_identifiers_when_keyspace_specified
  ✅ should_handle_case_sensitive_identifiers_without_keyspace_specified
com.datastax.driver.mapping.MapperOptionTest
  ✅ should_fail_if_option_does_not_apply_to_query
  ✅ should_fail_when_using_if_not_exists_on_delete_query
  ✅ should_fail_when_using_if_not_exists_on_get_query
  ⚪ should_fail_when_using_timestamp_with_protocol_v1
  ⚪ should_fail_when_using_ttl_with_protocol_v1
  ✅ should_prioritize_option_over_model_consistency
  ✅ should_use_default_options
  ✅ should_use_delete_options
  ✅ should_use_delete_options_for_all_variants
  ✅ should_use_explicit_options_over_default_options
  ✅ should_use_get_options
  ✅ should_use_get_options_for_all_variants
  ✅ should_use_if_not_exists_option
  ✅ should_use_options_only_once
  ✅ should_use_save_options
  ✅ should_use_save_options_for_all_variants
com.datastax.driver.mapping.MappingConfigurationHierarchyScanStrategyTest
  ✅ should_inherit_annotations_up_to_highest_ancestor_excluded
  ✅ should_inherit_annotations_up_to_highest_ancestor_included
  ✅ should_not_inherit_annotations_when_hierarchy_scan_disabled
com.datastax.driver.mapping.MapperCompositeKeyTest
  ✅ testCreateMapper
com.datastax.driver.mapping.MapperPolymorphismTest
  ✅ should_save_and_retrieve_circle
  ✅ should_save_and_retrieve_rectangle
  ✅ should_save_and_retrieve_sphere
  ✅ should_save_and_retrieve_square
com.datastax.driver.mapping.MappingConfigurationNamingStrategyTest
  ✅ should_apply_naming_strategy_to_udts
  ✅ should_apply_naming_strategy_when_mapping_from_accessor_result
  ✅ should_override_naming_strategy_with_column_annotation_name_fields
  ✅ should_override_naming_strategy_with_column_annotation_name_getters
  ✅ should_use_naming_strategy_fields
  ✅ should_use_naming_strategy_getters_and_setters
com.datastax.driver.mapping.MapperComputedFieldsTest
  ✅ should_add_aliases_for_fields_in_select_queries
  ✅ should_fail_if_computed_field_is_not_right_type
  ✅ should_fail_if_computed_field_marked_with_column_annotation
  ⚪ should_get_unsupported_operation_exception_on_v1
  ✅ should_map_aliased_resultset_to_objects
  ✅ should_map_unaliased_resultset_to_objects
  ✅ should_save_and_get_entity_with_computed_fields
com.datastax.driver.mapping.MapperPrimitiveTypes22Test
  ✅ testWriteRead22
com.datastax.driver.mapping.MappingConfigurationPropertyAccessTest
  ✅ should_ignore_fields
  ✅ should_ignore_getters
  ✅ should_map_fields_and_getters
com.datastax.driver.mapping.MapperCustomCodecTest
  ✅ should_be_able_to_use_parameterized_type
  ✅ should_fail_when_invalid_codec_type_mapping
  ✅ should_fail_when_invalid_codec_type_mapping_in_accessor
  ✅ should_fail_when_invalid_codec_with_no_default_ctor_provided
  ✅ should_fail_when_invalid_codec_with_no_default_ctor_provided_in_accessor
  ✅ should_use_custom_codecs_in_UDTs
  ✅ should_use_custom_codecs_in_nested_structures
  ✅ should_use_custom_codecs_with_accessors
  ✅ should_use_custom_codecs_with_basic_operations
com.datastax.driver.mapping.MapperPrimitiveTypesTest
  ✅ testWriteRead
com.datastax.driver.mapping.MappingConfigurationTransienceStrategyTest
  ✅ should_map_only_annotated
  ✅ should_map_only_non_transient
com.datastax.driver.mapping.MapperGroovyTest
  ✅ should_map_groovy_class
com.datastax.driver.mapping.MappingConfigurationTransientTest
  ✅ should_ignore_property_if_declared_transient_in_mapper_configuration
  ✅ should_ignore_property_if_field_annotated_transient
  ✅ should_ignore_property_if_field_has_transient_modifier
  ✅ should_ignore_property_if_getter_annotated_transient

Annotations

Check failure on line 534 in driver-mapping/src/test/java/com/datastax/driver/mapping/MapperTest.java

See this annotation in the file changed.

@github-actions github-actions / Test report

TestSuite ► com.datastax.driver.mapping.MapperTest ► should_fail_when_io_thread_used

Failed test found in:
  cassandra-3.11.17/driver-mapping/target/surefire-reports/TEST-TestSuite.xml
  driver-mapping/target/surefire-reports/TEST-TestSuite.xml
Error:
  java.lang.AssertionError: Expected a failed future, callback was executed on Thread[cluster7-worker-2,5,main]
Raw output
java.lang.AssertionError: Expected a failed future, callback was executed on Thread[cluster7-worker-2,5,main]
	at com.datastax.driver.mapping.MapperTest.executeFunctionAndTestForException(MapperTest.java:534)
	at com.datastax.driver.mapping.MapperTest.should_fail_when_io_thread_used(MapperTest.java:402)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
	at org.testng.TestRunner.privateRun(TestRunner.java:767)
	at org.testng.TestRunner.run(TestRunner.java:617)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
	at org.testng.SuiteRunner.run(SuiteRunner.java:254)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
	at org.testng.TestNG.run(TestNG.java:1057)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:151)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:192)
	at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:93)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:155)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)