Changed the way we test mock
authorNico Cesar <nico@nicocesar.com>
Thu, 10 Dec 2020 19:04:55 +0000 (14:04 -0500)
committerNico Cesar <nico@nicocesar.com>
Thu, 10 Dec 2020 19:04:55 +0000 (14:04 -0500)
commite6852ae4b41e66c661316e8d5e78fe87aa26d53d
treec23ab06bddea16722b2e6b6e33cf47c03729c6ad
parent67ac5dcd79fa6f0549bb4f7646cb624e0baa60e5
Changed the way we test mock

After a long discussion as a result of https://dev.arvados.org/issues/17014#note-18
Tom Clegg and Nico Cesar agreed that TestCreateRemoteContainerRequestCheckRuntimeToken
was expecting the same sent json object in the mock

the process is
client -> zzzzz cluster -> zmock

and we expect to have a random runtime_token in the zmock cluster

Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico@curii.com>
lib/controller/federation_test.go