#89 Generalise the three Storage interfaces and structs into one generic storage manager.
This commit is contained in:
@ -66,7 +66,7 @@ func TestAWSRunnerManager_Return(t *testing.T) {
|
||||
assert.NoError(t, err)
|
||||
|
||||
t.Run("removes usedRunner", func(t *testing.T) {
|
||||
m.usedRunners.Add(r)
|
||||
m.usedRunners.Add(r.ID(), r)
|
||||
assert.Contains(t, m.usedRunners.List(), r)
|
||||
|
||||
err := m.Return(r)
|
||||
|
Reference in New Issue
Block a user