#89 Generalise the three Storage interfaces and structs into one generic storage manager.

This commit is contained in:
Maximilian Paß
2022-06-21 19:06:55 +02:00
parent 542be96c66
commit 34040162c2
22 changed files with 292 additions and 554 deletions

View File

@ -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)