Created by ruhan on 2/17/17.
GIVEN:
RemoteRepository A proxy an upstream server
- Path P in
RemoteRepository A points to an POM, registered with an upstream 404 error
- Path R in
RemoteRepository A points to the Rel file of the target POM
WHEN:
- Path R is requested from
RemoteRepository A
- Path P is registered again with an upstream 200 response
RemoteRepository A is reset (set disabled to false)
- Path R is requested from
RemoteRepository A
- Path P is requested from
RemoteRepository A
THEN:
RemoteRepository A returns null before reset to 200
RemoteRepository A returns notNull (exists) for Path R after reset
RemoteRepository A returns notNull (exists) for Path P after reset