Fix gwt latest dep test
@@ -86,6 +86,8 @@ class GwtTest extends AgentInstrumentationSpecification implements HttpServerTes
// wait for page to load
driver.findElementByClassName("greeting.button")
assertTraces(4) {
+ traces.sort(orderByRootSpanName("/*", "HTTP GET"))
+
// /xyz/greeting.html
trace(0, 1) {
serverSpan(it, 0, getContextPath() + "/*")
@@ -94,13 +96,13 @@ class GwtTest extends AgentInstrumentationSpecification implements HttpServerTes
trace(1, 1) {
serverSpan(it, 0, getContextPath() + "/*")
}
- // /favicon.ico
+ // /xyz/greeting/1B105441581A8F41E49D5DF3FB5B55BA.cache.html
trace(2, 1) {
- serverSpan(it, 0, "HTTP GET")
+ serverSpan(it, 0, getContextPath() + "/*")
}
- // /xyz/greeting/1B105441581A8F41E49D5DF3FB5B55BA.cache.html
+ // /favicon.ico
trace(3, 1) {
- serverSpan(it, 0, getContextPath() + "/*")
+ serverSpan(it, 0, "HTTP GET")
}
}
clearExportedData()
