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

Change port run Arquillian #6

Open
ChristianLoza opened this issue Aug 29, 2020 · 0 comments
Open

Change port run Arquillian #6

ChristianLoza opened this issue Aug 29, 2020 · 0 comments

Comments

@ChristianLoza
Copy link

ChristianLoza commented Aug 29, 2020

Hello
I am using Arquillian and KumuluzEE, which runs on port 8080, I changed the .yml file to another port but while running the tests I get the message "connection refused".


kumuluzee:
  name: ms-gen-uuid
  env:
    name: ms-gen-uuid
  version: 1.0.0
  server:
    base-url: http://localhost:7980/v1/
    http:
      port: 7980

Also try the arquillian.xml file with javaArguments -Dserver.port property, but it doesn't work, can someone help me with this problem, is it possible to run it on another port?


<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.org/schema/arquillian"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://jboss.org/schema/arquillian http://www.jboss.org/schema/arquillian/arquillian_1_0.xsd">
    <container qualifier="KumuluzEE" default="true">
        <configuration>
            <property name="includeRequiredLibraries">fromPom</property>
        </configuration>
    </container>

</arquillian>
@RunWith(Arquillian.class)
public class UUIDTest {

    String headerToken;

    @Deployment
    public static JavaArchive createDeploy() {
        return ShrinkWrap.create(JavaArchive.class)                
                .addPackages(true, "com.tharsis")
                .addAsResource("config.yml", "config.yml")
                .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");
    }
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

No branches or pull requests

1 participant