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

OAK-11328: Remove usage of Guava ImmutableList (test classes) #1920

Closed
wants to merge 1 commit into from

Conversation

reschke
Copy link
Contributor

@reschke reschke commented Dec 22, 2024

No description provided.

Set<String> expected = new HashSet<>();
expected.addAll(globalGroupIds);
expected.addAll(configGroupIds);
Set<String> expected = ImmutableSet.<String>builder()
Copy link
Contributor

Choose a reason for hiding this comment

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

this is class is doing the opposite.

@@ -636,7 +637,7 @@ public void testListOrphanedUsers() throws Exception {

result = syncMBean.listOrphanedUsers();
assertEquals(2, result.length);
assertEquals(Set.of("thirdUser", "g"), Set.of(result));
assertEquals(Set.of("thirdUser", "g"), ImmutableSet.copyOf(result));
Copy link
Contributor

Choose a reason for hiding this comment

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

doing the opposite here too.

@reschke reschke closed this Dec 22, 2024
@reschke
Copy link
Contributor Author

reschke commented Dec 22, 2024

Wrong base for compare.

@reschke reschke deleted the OAK-11328 branch December 22, 2024 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants