Skip to content

Commit e98823b

Browse files
committed
got rid of ws
1 parent a6e6f8a commit e98823b

File tree

1 file changed

+4
-4
lines changed
  • hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/webapp

1 file changed

+4
-4
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/webapp/TestWebApp.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void testServePathsNoName() {
232232
@Test
233233
void testDefaultRoutes() throws Exception {
234234
WebApp app = WebApps.
235-
$for("test-default-routes", TestWebApp.class, this, "ws-default-routes").
235+
$for("test-default-routes", TestWebApp.class, this, "ws").
236236
withResourceConfig(configure()).start();
237237
String baseUrl = baseUrl(app);
238238
try {
@@ -291,7 +291,7 @@ public void setup() {
291291
}
292292
};
293293

294-
WebApp app = WebApps.$for("test-encoded-urls", TestWebApp.class, this, "ws-encoded-urls")
294+
WebApp app = WebApps.$for("test-encoded-urls", TestWebApp.class, this, "ws")
295295
.withResourceConfig(configure()).start(webApp);
296296
String baseUrl = baseUrl(app);
297297

@@ -320,7 +320,7 @@ public void setup() {
320320
}
321321
};
322322

323-
WebApp app = WebApps.$for("test-robots-txt", TestWebApp.class, this, "ws-robots-txt")
323+
WebApp app = WebApps.$for("test-robots-txt", TestWebApp.class, this, "ws")
324324
.withResourceConfig(configure()).start(newWebApp);
325325
String baseUrl = baseUrl(app);
326326
try {
@@ -352,7 +352,7 @@ public void setup() {
352352
}
353353
};
354354

355-
WebApp app = WebApps.$for("test", this)
355+
WebApp app = WebApps.$for("test-yarn-webapp-context", this)
356356
.withResourceConfig(configure())
357357
.start(webApp);
358358
String baseUrl = baseUrl(app);

0 commit comments

Comments
 (0)