Skip to content

Commit

Permalink
Disable log ingestion test on macOS (Azure#42163)
Browse files Browse the repository at this point in the history
* Disable LogsIngestionAsyncClientTest.testUploadLogsInBatchesConcurrently test on macOS

* Also disable testUploadLogsInBatches on macOS
  • Loading branch information
jeanbisutti authored and mssfang committed Oct 21, 2024
1 parent 465b84e commit ccd98e0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
import com.azure.monitor.ingestion.models.LogsUploadException;
import com.azure.monitor.ingestion.models.LogsUploadOptions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;
import org.junit.jupiter.api.condition.OS;
import reactor.test.StepVerifier;

import java.util.List;
Expand All @@ -36,6 +38,7 @@ public void testUploadLogs() {
}

@Test
@DisabledOnOs(OS.MAC)
public void testUploadLogsInBatches() {
List<Object> logs = getObjects(10000);

Expand All @@ -52,6 +55,7 @@ public void testUploadLogsInBatches() {
}

@Test
@DisabledOnOs(OS.MAC)
public void testUploadLogsInBatchesConcurrently() {
List<Object> logs = getObjects(10000);

Expand Down

0 comments on commit ccd98e0

Please sign in to comment.