Skip to content

Commit

Permalink
enable test if CI_ARCH is unset or matches supported arch
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jan 6, 2025
1 parent c473f3c commit 9b9b898
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/itest/AgentDiscoveryIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@
import org.hamcrest.Matchers;
import org.jboss.logging.Logger;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.EnabledIfEnvironmentVariable;

@QuarkusIntegrationTest
@QuarkusTestResource(value = AgentApplicationResource.class, restrictToAnnotatedClass = true)
@EnabledIfEnvironmentVariable(named = "CI_ARCH", matches = "^$")
@EnabledIfEnvironmentVariable(named = "CI_ARCH", matches = "^amd64|AMD64$")
public class AgentDiscoveryIT extends HttpClientTest {

static final Logger logger = Logger.getLogger(AgentDiscoveryIT.class);
Expand Down

0 comments on commit 9b9b898

Please sign in to comment.