- 
                Notifications
    
You must be signed in to change notification settings  - Fork 25.6k
 
          Fix version confusion in testHandshakeRequestFutureVersionsCompatibility
          #121883
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
  
    Fix version confusion in testHandshakeRequestFutureVersionsCompatibility
  
  #121883
              Conversation
…lity` Today we use the ID from `Version#CURRENT` in this test, which only works if its ID is no less than that of `TranportVersion#current()`. This commit fixes the test to ensure it always picks a transport version ID that is not from the past.
| 
           Pinging @elastic/es-core-infra (Team:Core/Infra)  | 
    
| 
           Discovered in a backport to 9.0 which adds extra validation to these versions: #121801. I already added this change to the backport to get the tests to pass, this is just adding it to   | 
    
…sCompatibility-version-confusion
| 
           Actually, I'm going to backport this one first rather than manually applying it to all the other backports.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
          💔 Backport failed
 You can use sqren/backport to manually backport by running   | 
    
…lity` (#121883) Today we use the ID from `Version#CURRENT` in this test, which only works if its ID is no less than that of `TranportVersion#current()`. This commit fixes the test to ensure it always picks a transport version ID that is not from the past.
…lity` (#121883) Today we use the ID from `Version#CURRENT` in this test, which only works if its ID is no less than that of `TranportVersion#current()`. This commit fixes the test to ensure it always picks a transport version ID that is not from the past.
…lity` (#121883) Today we use the ID from `Version#CURRENT` in this test, which only works if its ID is no less than that of `TranportVersion#current()`. This commit fixes the test to ensure it always picks a transport version ID that is not from the past.
Today we use the ID from
Version#CURRENTin this test, which onlyworks if its ID is no less than that of
TranportVersion#current().This commit fixes the test to ensure it always picks a transport version
ID that is not from the past.