-
Notifications
You must be signed in to change notification settings - Fork 14
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
Request response payload capture verify by smoke test #273
Changes from all commits
ea4a520
e8ae31f
f776bc4
f609432
bacb322
87b26e0
99d153c
116f093
9532dce
5a5c2eb
d844eb7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,45 @@ | ||
/* | ||
* Copyright The OpenTelemetry Authors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package org.hypertrace.agent.smoketest | ||
|
||
class GlassfishSmokeTest { | ||
import spock.lang.Ignore | ||
|
||
import java.time.Duration | ||
import org.testcontainers.containers.wait.strategy.Wait | ||
import org.testcontainers.containers.wait.strategy.WaitStrategy | ||
|
||
@Ignore | ||
@AppServer(version = "5.2020.6", jdk = "8") | ||
@AppServer(version = "5.2020.6-jdk11", jdk = "11") | ||
class GlassFishSmokeTest extends AppServerTest { | ||
|
||
protected String getTargetImage(String jdk, String serverVersion) { | ||
"hypertrace/java-agent-test-containers:payara-${serverVersion}-jdk$jdk-20210224.596496007" | ||
} | ||
|
||
@Override | ||
protected Map<String, String> getExtraEnv() { | ||
return ["HZ_PHONE_HOME_ENABLED": "false"] | ||
} | ||
|
||
@Override | ||
protected WaitStrategy getWaitStrategy() { | ||
return Wait | ||
.forLogMessage(".*app was successfully deployed.*", 1) | ||
.withStartupTimeout(Duration.ofMinutes(3)) | ||
} | ||
|
||
@Override | ||
protected String getSpanName(String path) { | ||
return path | ||
} | ||
|
||
@Override | ||
boolean testRequestWebInfWebXml() { | ||
false | ||
} | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,20 @@ | |
|
||
package org.hypertrace.agent.smoketest | ||
|
||
import spock.lang.Ignore | ||
|
||
import java.time.Duration | ||
import org.testcontainers.containers.wait.strategy.Wait | ||
import org.testcontainers.containers.wait.strategy.WaitStrategy | ||
|
||
@Ignore | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is tomee also failing? If so create an issue There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the v.15.0 release did not have test for |
||
@AppServer(version = "7.0.0", jdk = "8") | ||
@AppServer(version = "8.0.6", jdk = "8") | ||
@AppServer(version = "8.0.6", jdk = "11") | ||
class TomeeSmokeTest extends AppServerTest { | ||
|
||
protected String getTargetImage(String jdk, String serverVersion) { | ||
"ghcr.io/open-telemetry/java-test-containers:tomee-${serverVersion}-jdk$jdk-20210202.531569197" | ||
"hypertrace/java-agent-test-containers:tomee-${serverVersion}-jdk$jdk-20210224.596496007" | ||
} | ||
|
||
@Override | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please create an issue and add a link here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
link to glassfish startup issues: #276