-
Notifications
You must be signed in to change notification settings - Fork 85
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
Remove Enterprise features from api/, sdk/ #204
Remove Enterprise features from api/, sdk/ #204
Conversation
e96330e
to
a5a240e
Compare
The CI failure:
is a test I've seen locally fail a bit when I'm stressing the system too much and happens independent of this PR. I've not really found a way to make it more reliable, so wonder if perhaps something is racing in a weird way. If anyone's interested in investigating it more, feel free! |
a5a240e
to
2084b2d
Compare
@@ -538,6 +539,8 @@ func TestPredict_PathsKVv2(t *testing.T) { | |||
client, closer := testVaultServerWithKVVersion(t, "2") | |||
defer closer() | |||
|
|||
time.Sleep(250 * time.Millisecond) |
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.
Was this sleep
added due to flakiness in the test?
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.
Yeah, thought I added a comment, but perhaps not.
The test flakes when I run on power saving mode on my laptop, because it is running so many tests in parallel and the KVv1->KVv2 auto-migration that is done on mounting isn't complete by the time the subsequent write (below) is performed. Cleaner would be to add a retry loop to testVaultServerWithKVVersion
to wait until the KVv2 migration has been performed, but I'm (a) lazy and (b) there's plenty of other command tests that an extra 250ms among friends won't be missed. :-)
You're welcome to tackle that if you want, I think there's other examples of retry loops (e.g., in PKI tests) that you could use if you want. :D
This removes various references of WALs, Enterprise-only Auto Pilot configuration, Performance Secondaries, and Disaster Recovery from api/ and sdk/, including dependent pieces in command, agent, and proxy (around enforcing consistency, FIPS status, and other related topics). This also fixes the README to update references to DockerTestHelper to remove Vault Enterprise support. Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
2a4d542
to
348e331
Compare
This removes various references of WALs, Enterprise-only Auto Pilot
configuration, Performance Secondaries, and Disaster Recovery from
api/
andsdk/
, including dependent pieces in command, agent, andproxy (around enforcing consistency, FIPS status, and other related
topics).
This also fixes the README to update references to
DockerTestHelper
toremove Vault Enterprise support.
Will be rebased once #203 is merged.