mirror of
https://github.com/google/nomulus
synced 2026-06-06 06:52:56 +00:00
Wire in MetricReporter into the backend servlet to publish metrics
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130468842
This commit is contained in:
@@ -269,10 +269,9 @@ public final class AppEngineRule extends ExternalResource {
|
||||
}
|
||||
if (withLocalModules) {
|
||||
configs.add(new LocalModulesServiceTestConfig()
|
||||
.addDefaultModuleVersion()
|
||||
.addAutomaticScalingModuleVersion("default", "v1")
|
||||
.addAutomaticScalingModuleVersion("tools", "v1")
|
||||
.addAutomaticScalingModuleVersion("backend", "v1"));
|
||||
.addBasicScalingModuleVersion("default", "1", 1)
|
||||
.addBasicScalingModuleVersion("tools", "1", 1)
|
||||
.addBasicScalingModuleVersion("backend", "1", 1));
|
||||
}
|
||||
if (withTaskQueue) {
|
||||
File queueFile = temporaryFolder.newFile("queue.xml");
|
||||
@@ -307,6 +306,10 @@ public final class AppEngineRule extends ExternalResource {
|
||||
});
|
||||
}
|
||||
|
||||
if (withLocalModules) {
|
||||
helper.setEnvInstance("0");
|
||||
}
|
||||
|
||||
helper.setUp();
|
||||
|
||||
if (withDatastore) {
|
||||
|
||||
Reference in New Issue
Block a user