Skip to content
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

[WPB-15151] eliminate legahold test redundancy #4386

Merged
merged 7 commits into from
Dec 23, 2024

Conversation

fisx
Copy link
Contributor

@fisx fisx commented Dec 20, 2024

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Dec 20, 2024
@fisx fisx force-pushed the WPB-15151-eliminate-lh-tests-redundancy branch from 3ff6ea0 to aa7cfa2 Compare December 20, 2024 16:14
@fisx fisx marked this pull request as ready for review December 23, 2024 08:18
integration/test/Test/LegalHold.hs Outdated Show resolved Hide resolved
--
-- This flag allows to make tests run through both configurations with minimal adjustment.
data ImplicitConsent = ImplicitConsent | ExplicitConsent
deriving (Eq, Show, Generic)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does this need Generic? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the test collection machinery

setLHFeatureConfigForServer ImplicitConsent app =
-- we could do `setField "settings.featureFlags.legalhold"
-- "whitelist-teams-and-implicit-consent"`, but this is already the default.
-- TODO: make this an assertion, not a comment!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this easily be done now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right. missed that spot, thanks!

fisx and others added 2 commits December 23, 2024 09:39
... to guard against accidental change.
@fisx fisx requested a review from supersven December 23, 2024 09:34
@fisx
Copy link
Contributor Author

fisx commented Dec 23, 2024

thanks, sven!

the CI failures in 64193e7 seem unrelated?

@supersven
Copy link
Contributor

thanks, sven!

the CI failures in 64193e7 seem unrelated?

More ❄️ 😬

Copy link
Contributor

@supersven supersven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO we can merge this as soon as the CI is 🟢

@fisx fisx merged commit 783cd10 into develop Dec 23, 2024
11 checks passed
@fisx fisx deleted the WPB-15151-eliminate-lh-tests-redundancy branch December 23, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants