refactor: remove model.ExperimentOrchestraClient (#284)

* ongoing

* while there, make sure we test everything

* reorganize previous commit

* ensure we have reasonable coverage in session

The code in here would be better with unit tests. We have too many
integration tests and the tests overall are too slow. But it's also
true that I should not write a giant diff as part of this PR.
This commit is contained in:
Simone Basso 2021-04-02 12:03:18 +02:00 committed by GitHub
commit 79e8424677
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 200 additions and 210 deletions

View file

@ -62,7 +62,7 @@ func TestTimeLimitedLookupFailure(t *testing.T) {
func TestTimeLimitedLookupWillTimeout(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode")
t.Skip("skip test in short mode")
}
reso := &Resolver{}
re := &FakeResolver{

View file

@ -9,7 +9,7 @@ import (
func TestSessionResolverGood(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode")
t.Skip("skip test in short mode")
}
reso := &sessionresolver.Resolver{}
defer reso.CloseIdleConnections()