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

[FEATURE] Setup Integration Test CI #56

Closed
jackiehanyang opened this issue Sep 25, 2023 · 4 comments
Closed

[FEATURE] Setup Integration Test CI #56

jackiehanyang opened this issue Sep 25, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@jackiehanyang
Copy link
Collaborator

Is your feature request related to a problem?

Currently, the integration test CI of this repo is not running.

What solution would you like?

Adding the proper Gradle setup to get the integration test CI running.

@jackiehanyang jackiehanyang added enhancement New feature or request untriaged labels Sep 25, 2023
@jackiehanyang jackiehanyang self-assigned this Sep 25, 2023
@dbwiddis
Copy link
Member

Can you document the necessary commands that you're using on the command line?

I'll update the appropriate workflows.

It appeared to me they were running with gradle check on my local.

@dbwiddis
Copy link
Member

In build.gradle they are configured:

task integTest(type: RestIntegTestTask) {
    description = "Run tests against a cluster"
    testClassesDirs = sourceSets.test.output.classesDirs
    classpath = sourceSets.test.runtimeClasspath
}
tasks.named("check").configure { dependsOn(integTest) }

integTest {
    // The --debug-jvm command-line option makes the cluster debuggable; this makes the tests debuggable
    if (System.getProperty("test.debug") != null) {
        jvmArgs '-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005'
    }
}

In CI action it looks like it's running the task:

Task :integTest

@owaiskazi19
Copy link
Member

@jackiehanyang I moved this issue under a wider integ test issue: #73

@dbwiddis
Copy link
Member

Closing this as it's addressed by #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants