open-nomad/api/system_test.go
2017-07-21 16:33:04 -07:00

16 lines
227 B
Go

package api
import (
"testing"
)
func TestSystem_GarbageCollect(t *testing.T) {
t.Parallel()
c, s := makeClient(t, nil, nil)
defer s.Stop()
e := c.System()
if err := e.GarbageCollect(); err != nil {
t.Fatal(err)
}
}