open-nomad/api/system_test.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
308 B
Go
Raw Normal View History

2016-02-20 23:50:41 +00:00
package api
import (
"testing"
"github.com/hashicorp/nomad/api/internal/testutil"
"github.com/shoenig/test/must"
2016-02-20 23:50:41 +00:00
)
func TestSystem_GarbageCollect(t *testing.T) {
testutil.Parallel(t)
2016-02-20 23:50:41 +00:00
c, s := makeClient(t, nil, nil)
defer s.Stop()
e := c.System()
err := e.GarbageCollect()
must.NoError(t, err)
2016-02-20 23:50:41 +00:00
}