mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
raw_exec: fixup review comments
This commit is contained in:
@@ -20,6 +20,7 @@ func TestFS_Logs(t *testing.T) {
|
||||
testutil.Parallel(t)
|
||||
require := require.New(t)
|
||||
rpcPort := 0
|
||||
|
||||
c, s := makeClient(t, nil, func(c *testutil.TestServerConfig) {
|
||||
rpcPort = c.Ports.RPC
|
||||
c.Client = &testutil.ClientConfig{
|
||||
|
||||
@@ -549,6 +549,7 @@ type Node struct {
|
||||
Links map[string]string
|
||||
Meta map[string]string
|
||||
NodeClass string
|
||||
CgroupParent string
|
||||
Drain bool
|
||||
DrainStrategy *DrainStrategy
|
||||
SchedulingEligibility string
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
//go:build !linux
|
||||
|
||||
package resources
|
||||
|
||||
type containment struct {
|
||||
// non-linux executors currently do not create resources to be cleaned up
|
||||
}
|
||||
|
||||
func (c *containment) Cleanup() error {
|
||||
return nil
|
||||
}
|
||||
@@ -2244,8 +2244,6 @@ func TestCoreScheduler_CSIPluginGC(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCoreScheduler_CSIVolumeClaimGC(t *testing.T) {
|
||||
ci.SkipSlow(t, "flaky on GHA; #12358")
|
||||
|
||||
srv, shutdown := TestServer(t, func(c *Config) {
|
||||
c.NumSchedulers = 0 // Prevent automatic dequeue
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user