open-nomad/api/system_test.go

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

22 lines
378 B
Go
Raw Permalink Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
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
}