- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Lockable (0.65 sec)
-
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy
List<Closeable> openedLocks = [] def setup() { testFile = tmpDir.createFile("state.bin") testFileLock = tmpDir.file(testFile.name + ".lock") testDir = tmpDir.createDir("lockable-dir") testDirLock = tmpDir.file("${testDir.name}/${testDir.name}.lock") metaDataProvider.processIdentifier >> '123' metaDataProvider.processDisplayName >> 'process'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/watch/watch.go
return pw.result } // StopChan returns stop channel func (pw *ProxyWatcher) StopChan() <-chan struct{} { return pw.stopCh } // MockWatcher implements watch.Interface with mockable functions. type MockWatcher struct { StopFunc func() ResultChanFunc func() <-chan Event } var _ Interface = &MockWatcher{} // Stop calls StopFunc func (mw MockWatcher) Stop() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:06:22 UTC 2024 - 8.1K bytes - Viewed (1) -
pkg/kubelet/nodestatus/setters_test.go
"Diff: %s", cmp.Diff(testCase.expectedAnnotations, existingNode.Annotations)) } }) } } // We can't test failure or autodetection cases here because the relevant code isn't mockable func TestNodeAddress_NoCloudProvider(t *testing.T) { cases := []struct { name string nodeIPs []net.IP expectedAddresses []v1.NodeAddress shouldError bool }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0)