[ 
https://issues.apache.org/jira/browse/CASSANDRA-15551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gianluca Righetto updated CASSANDRA-15551:
------------------------------------------
    Test and Documentation Plan: 
For testing, check the reproduction steps in my comment below and verify that 
with the patch, the main thread waits while the endpoints are being evicted, 
before running another test method.
Unit tests results attached for both Java 11 and 8.
Since this is a change only in the test realm, no further documentation is 
required.
                         Status: Patch Available  (was: In Progress)

> Fix flaky tests org.apache.cassandra.service.MoveTest testStateJumpToNormal 
> and testMoveWithPendingRangesNetworkStrategyRackAwareThirtyNodes
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15551
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15551
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: David Capwell
>            Assignee: Gianluca Righetto
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 4.0-alpha
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> testStateJumpToNormal failure was on java 11
> {code}
> java.lang.NullPointerException
>       at org.apache.cassandra.gms.Gossiper.getHostId(Gossiper.java:1028)
>       at org.apache.cassandra.gms.Gossiper.getHostId(Gossiper.java:1023)
>       at 
> org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:2513)
>       at 
> org.apache.cassandra.service.StorageService.onChange(StorageService.java:2055)
>       at org.apache.cassandra.Util.createInitialRing(Util.java:225)
>       at 
> org.apache.cassandra.service.MoveTest.testStateJumpToNormal(MoveTest.java:935)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}
> testMoveWithPendingRangesNetworkStrategyRackAwareThirtyNodes failure was on 
> java 8
> {code}
> java.lang.NullPointerException
>       at 
> org.apache.cassandra.service.StorageService.updatePeerInfo(StorageService.java:2174)
>       at 
> org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:2511)
>       at 
> org.apache.cassandra.service.StorageService.onChange(StorageService.java:2055)
>       at org.apache.cassandra.Util.createInitialRing(Util.java:225)
>       at 
> org.apache.cassandra.service.MoveTest.testMoveWithPendingRangesNetworkStrategyRackAwareThirtyNodes(MoveTest.java:199)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to