google-nomulus/javatests/google/registry
cgoldfeder 0859cde790 Fix the TestServer filter support added in []
In the previous CL I added filter support for the test server, but
even though I could verify that filters were being run when debugging,
in practice the side effects of the filters (notably, ObjectifyFilter
clearing the session cache) were somehow not present in tests (and
therefore causing new as-yet unsubmitted tests that rely on proper
session caching to break).

Investigating further, the way TestServer works is that it creates
a wrapper Servlet for each route, and in that wrapper just pushes
a future onto a queue and waits on it. The actual target servlet
is run within the queue, not within the wrapper servlet's context.
I had added filters to the *wrapper* servlet, which meant that even
though they were invoked before adding the task to the queue, they
were not invoked in the process of actually running the task.

In this CL I pushed the filters into the task itself, just like the
target servlet.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=144123637
2017-01-12 14:02:55 -05:00
..
backup Remove the old RegistryConfig paradigm entirely 2017-01-09 12:01:09 -05:00
batch Fix deleted domain bug in recurring billing expansion 2017-01-09 11:59:04 -05:00
bigquery Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
builddefs Upgrade Nomulus to latest Closure Rules 2016-12-06 11:52:46 -05:00
config Deprecate more fields in RegistryConfig 2017-01-09 11:59:04 -05:00
cron Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
dns Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
export Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
flows Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
groups Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
mapreduce/inputs Make all but one field on RegistryConfig static 2017-01-09 12:01:09 -05:00
model Add missing otherClientId field to Datastore schema 2017-01-09 12:01:09 -05:00
module Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
monitoring Rename all encoding methods to start with the word encode for consistency 2017-01-12 13:58:31 -05:00
pricing Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
rdap Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
rde Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
request Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
security Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
server Fix the TestServer filter support added in [] 2017-01-12 14:02:55 -05:00
storage/drive Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
testing Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
tldconfig/idn Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
tmch Remove the old RegistryConfig paradigm entirely 2017-01-09 12:01:09 -05:00
tools Add global cursor functionality to UpdateCursorsCommand 2017-01-09 12:15:51 -05:00
ui Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
util Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
whois Move ConfigModule and LocalTestConfig into RegistryConfig 2017-01-09 12:01:09 -05:00
xjc Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
xml Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00