Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isOperationRunSerially (0.19 sec)

  1. pkg/volume/util/operationexecutor/operation_executor_test.go

    			ReportedInUse:      true,
    		}
    		oe.MountVolume(0 /* waitForAttachTimeout */, volumesToMount[i], nil /* actualStateOfWorldMounterUpdater */, false /* isRemount */)
    	}
    
    	// Assert
    	if !isOperationRunSerially(ch, quit) {
    		t.Fatalf("Mount operations should not start concurrently for attachable volumes")
    	}
    }
    
    func TestOperationExecutor_MountVolume_ConcurrentMountForDeviceMountablePlugins(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. pkg/kubelet/pluginmanager/operationexecutor/operation_executor_test.go

    	for i := 0; i < numPluginsToRegister; i++ {
    		oe.RegisterPlugin(socketPath, time.Now(), nil /* plugin handlers */, nil /* actual state of the world updator */)
    
    	}
    	if !isOperationRunSerially(ch, quit) {
    		t.Fatalf("Unable to start register operations serially for plugins")
    	}
    }
    
    func TestOperationExecutor_UnregisterPlugin_ConcurrentUnregisterPlugin(t *testing.T) {
    	ch, quit, oe := setup()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top