Skip to content

Commit

Permalink
Disable tests that do not run on ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
sualeh committed Dec 16, 2024
1 parent 2458b34 commit bfd01ec
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
import static us.fatehi.schemacrawler.webapp.service.storage.FileExtensionType.PNG;
import static us.fatehi.schemacrawler.webapp.service.storage.FileExtensionType.SQLITE_DB;
import static us.fatehi.schemacrawler.webapp.test.utility.TestUtility.mockMultipartFile;

import java.nio.file.Path;
import java.util.Optional;

import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.EnabledOnOs;
import org.junit.jupiter.api.condition.OS;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
Expand All @@ -58,7 +58,6 @@
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.MvcResult;

import us.fatehi.schemacrawler.webapp.model.DiagramKey;
import us.fatehi.schemacrawler.webapp.model.DiagramRequest;
import us.fatehi.schemacrawler.webapp.service.storage.StorageService;
Expand All @@ -67,6 +66,10 @@
@AutoConfigureMockMvc
@SpringBootTest
@ActiveProfiles("local")
@EnabledOnOs(
value = {OS.WINDOWS},
architectures = {"x64", "x86_64", "amd64"},
disabledReason = "Does not run on Windows ARM")
public class ControllerRoundtripTest {

@Autowired private MockMvc mvc;
Expand Down

0 comments on commit bfd01ec

Please sign in to comment.