Skip to content

Commit

Permalink
SAK-49889 Conversations: skip test because of ordering issues on Wind…
Browse files Browse the repository at this point in the history
…ows (#12466)
  • Loading branch information
ottenhoff authored Mar 26, 2024
1 parent bcad32b commit b8aafd7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package org.sakaiproject.conversations.impl;

import org.junit.Assume;
import org.sakaiproject.authz.api.AuthzGroup;
import org.sakaiproject.authz.api.AuthzGroupService;
import org.sakaiproject.authz.api.SecurityService;
Expand Down Expand Up @@ -787,6 +788,8 @@ public void crudPost() {

@Test
public void getPostsByTopicId() {
// This test fails 20% of the time on Windows because of ordering issues
Assume.assumeFalse(System.getProperty("os.name").startsWith("Windows"));

when(serverConfigurationService.getInt(ConversationsService.PROP_THREADS_PAGE_SIZE, 10)).thenReturn(2);

Expand Down

0 comments on commit b8aafd7

Please sign in to comment.