mirror of
https://github.com/google/nomulus.git
synced 2025-07-23 03:06:01 +02:00
Remove old json logging from flows
This was meant for log replay and has long been ignored/useless. As part of this, remove execution time from EppResponse since this was the only thing consuming it. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=137293734
This commit is contained in:
parent
5f8a95d853
commit
198558901d
7 changed files with 20 additions and 103 deletions
|
@ -44,7 +44,6 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.logging.LogRecord;
|
||||
import java.util.logging.Logger;
|
||||
import org.joda.time.DateTime;
|
||||
import org.json.simple.JSONValue;
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
|
@ -69,7 +68,6 @@ public class FlowRunnerTest extends ShardableTestCase {
|
|||
|
||||
final EppOutput eppOutput = mock(EppOutput.class);
|
||||
EppResponse eppResponse = mock(EppResponse.class);
|
||||
when(eppResponse.getExecutionTime()).thenReturn(new DateTime(1337));
|
||||
when(eppOutput.getResponse()).thenReturn(eppResponse);
|
||||
|
||||
flowRunner.clientId = "TheRegistrar";
|
||||
|
@ -83,8 +81,7 @@ public class FlowRunnerTest extends ShardableTestCase {
|
|||
@Override
|
||||
protected EppOutput run() {
|
||||
return eppOutput;
|
||||
}
|
||||
});
|
||||
}});
|
||||
flowRunner.inputXmlBytes = "<xml/>".getBytes(UTF_8);
|
||||
flowRunner.isDryRun = false;
|
||||
flowRunner.isSuperuser = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue