raw_exec: fixup review comments

This commit is contained in:
Seth Hoenig
2022-04-05 15:21:15 -05:00
parent be7ec8de3e
commit 1d2e2c0d3c
4 changed files with 2 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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