[ 
https://issues.apache.org/jira/browse/CASSANDRA-20982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042761#comment-18042761
 ] 

Stefan Miklosovic commented on CASSANDRA-20982:
-----------------------------------------------

[CASSANDRA-20982-4.1|https://github.com/instaclustr/cassandra/tree/CASSANDRA-20982-4.1]
{noformat}
java11_pre-commit_tests                         
java11_separate_tests                            
java8_pre-commit_tests                          
  ✓ j8_build                                         5m 13s
  ✓ j8_cqlsh_dtests_py3                              6m 18s
  ✓ j8_cqlsh_dtests_py38                             8m 45s
  ✓ j8_cqlshlib_cython_tests                        10m 43s
  ✓ j8_cqlshlib_tests                                13m 0s
  ✓ j8_dtests_vnode                                 40m 11s
  ✓ j8_jvm_dtests                                   16m 29s
  ✓ j8_jvm_dtests_vnode                             17m 35s
  ✓ j8_simulator_dtests                               4m 6s
  ✓ j8_unit_tests                                    9m 57s
  ✓ j8_unit_tests_repeat                            13m 40s
  ✓ j8_utests_system_keyspace_directory              9m 37s
  ✓ j8_utests_system_keyspace_directory_repeat      10m 37s
  ✓ j11_unit_tests_repeat                           11m 16s
  ✓ j11_unit_tests                                  10m 21s
  ✓ j11_jvm_dtests_vnode                            12m 35s
  ✓ j11_jvm_dtests                                  16m 20s
  ✓ j11_dtests_vnode                                41m 45s
  ✓ j11_cqlshlib_tests                               6m 45s
  ✓ j11_cqlshlib_cython_tests                        7m 57s
  ✓ j11_cqlsh_dtests_py3_vnode                       5m 39s
  ✓ j11_cqlsh_dtests_py38_vnode                       6m 1s
  ✓ j11_cqlsh_dtests_py38                            5m 55s
  ✓ j11_cqlsh_dtests_py311_vnode                     6m 46s
  ✓ j11_cqlsh_dtests_py311                            6m 8s
  ✕ j8_cqlsh_dtests_py311                            2m 22s
  ✕ j8_cqlsh_dtests_py311_vnode                      1m 40s
  ✕ j8_cqlsh_dtests_py38_vnode                        6m 3s
      cql_tracing_test.TestCqlTracing test_tracing_simple
  ✕ j8_cqlsh_dtests_py3_vnode                        9m 18s
      cqlsh_tests.test_cqlsh_copy.TestCqlshCopy 
test_bulk_round_trip_with_backoff
  ✕ j8_dtests                                        57m 1s
      refresh_test.TestRefresh test_refresh_deadlock_startup
  ✕ j11_dtests                                      56m 18s
      refresh_test.TestRefresh test_refresh_deadlock_startup
  ✕ j11_cqlsh_dtests_py3                             5m 28s
      cql_tracing_test.TestCqlTracing test_tracing_default_impl
      cql_tracing_test.TestCqlTracing test_tracing_unknown_impl
java8_separate_tests                             
{noformat}

[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6146/workflows/3e9ff7da-5f52-40a4-992d-a995b3a935b4]
[java11_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6146/workflows/0821a709-fcbd-4fa7-bad5-c2d39d4a5b02]
[java8_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6146/workflows/cd0c9f3d-d209-493d-be8e-ca5c15e184b6]
[java8_separate_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/6146/workflows/5b047676-4ace-4bd8-9b15-b34e80706bec]


> BytesType should only be compatible with simple scalar types
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-20982
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20982
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Cluster/Schema
>            Reporter: Brandon Williams
>            Assignee: Mikołaj
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> Discovered while backporting CASSANDRA-18760, see 
> https://github.com/datastax/cassandra/commit/b5f7d239ce92db7d9c5f79c69cad0caea67fcb23
> Basically, things like 
> https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java#L71
>  shouldn't be allowed to pass, because converting a frozen collection to 
> bytes allows reading the raw bytes, which is nonsensical.
> This was found because the AbstractTypeTest is beefed up 
> [here|https://github.com/datastax/cassandra/blob/main/test/unit/org/apache/cassandra/db/marshal/AbstractTypeTest.java]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to