-
Notifications
You must be signed in to change notification settings - Fork 158
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
Bump the version on main to 9.1.0 #6649
Conversation
@rdner do you know how to fix this error? |
thanks @rdner! 9.0.0 and 9.1.0 will need to be available as snapshot and not as official release? If that's true then this PR will need to be merged anyway in order to get a 9.1.0 built. |
Previous minor requirement is about released versions, not snapshots. We need to comment this line Line 2049 in 4d98382
|
The unit tests are looking at the "real" version written in The unit test should use some constant mock data just to test the logic of the PreviousMinor() function (including the case where there are not enough previous minors). To solve the unit test problem we should remove the global state from the unit tests to be able to pass in the necessary test data. There's then the behaviour that @rdner , as the author of this part of code, what do you think about these 2 proposals? In the short term, sadly I think we can only:
|
So:
|
For the unit test we don't need to wait for the snapshot available, we could just fix the tests to not use real data. I am also not so sure that the error we see in the unit tests will not impact integration tests. Will add a commit to skip the unit test for the moment and then we'll see. Edit: created #6667 to track this |
In my opinion, we should just hardcode the latest 8.x minor (e.g. 8.17) for now. Here elastic-agent/testing/upgradetest/versions.go Lines 235 to 265 in 4d98382
|
This reverts commit ec276b0.
Force merging to unblock the unified release. We will follow up in a separate PRs to fix the integration tests. |
|
No description provided.