Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,613 for cleaned (0.2 sec)

  1. pkg/test/framework/components/echo/kube/workload.go

    // TODO: this isn't structured very nicely. We have a port forwarder that can notify us when it fails (ErrChan) and we are competing with
    // the pod informer which is sequenced via mutex. This could probably be cleaned up to be more event driven, but would require larger refactoring.
    func watchPortForward(cfg workloadConfig, w *workload) {
    	t := time.NewTicker(time.Millisecond * 500)
    	handler := func() {
    		w.mutex.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 19:46:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/os/example_test.go

    	}
    	defer os.RemoveAll(dir) // clean up
    
    	file := filepath.Join(dir, "tmpfile")
    	if err := os.WriteFile(file, []byte("content"), 0666); err != nil {
    		log.Fatal(err)
    	}
    }
    
    func ExampleMkdirTemp_suffix() {
    	logsDir, err := os.MkdirTemp("", "*-logs")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer os.RemoveAll(logsDir) // clean up
    
    	// Logs can be cleaned out earlier if needed by searching
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/extensions.kt

    /**
     * Define clean up rules for the project.
     * See https://www.jetbrains.com/help/teamcity/teamcity-data-clean-up.html#Clean-up+Rules
     *
     * @param historyDays days number of days to store build history .
     * @param artifactsDays number of days to store artifacts. In the stored history, artifacts older than this number will be cleaned up.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 13.1K bytes
    - Viewed (1)
  4. cluster/gce/gci/audit_policy_test.go

    func init() {
    	// Register audit scheme to parse audit config.
    	auditinstall.Install(auditpkg.Scheme)
    }
    
    func TestCreateMasterAuditPolicy(t *testing.T) {
    	baseDir, err := os.MkdirTemp("", "configure-helper-test") // cleaned up by c.tearDown()
    	require.NoError(t, err, "Failed to create temp directory")
    
    	policyFile := filepath.Join(baseDir, "audit_policy.yaml")
    	c := ManifestTestCase{
    		t:                t,
    		kubeHome:         baseDir,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            disableProblemsApiCheck()
    
            executer.cleanup()
            m2.cleanupState()
    
            // Verify that the test (or fixtures) has cleaned up state correctly
            m2.assertNoLeftoverState()
        }
    
        private void recreateExecuter() {
            if (executor != null) {
                executor.cleanup()
            }
            executor = null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            dir.assertDoesNotExist()
    
            when:
            boolean didWork = deleter.deleteRecursively(dir)
    
            then:
            !didWork
        }
    
        def "didWork is false when nothing has been cleaned"() {
            given:
            TestFile emptyDir = tmpDir.getTestDirectory()
    
            when:
            boolean didWork = deleter.ensureEmptyDirectory(emptyDir)
    
            then:
            !didWork
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. src/path/filepath/match.go

    		return path
    	default:
    		return path[0 : len(path)-1] // chop off trailing separator
    	}
    }
    
    // cleanGlobPathWindows is windows version of cleanGlobPath.
    func cleanGlobPathWindows(path string) (prefixLen int, cleaned string) {
    	vollen := filepathlite.VolumeNameLen(path)
    	switch {
    	case path == "":
    		return 0, "."
    	case vollen+1 == len(path) && os.IsPathSeparator(path[len(path)-1]): // /, \, C:\ and C:/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. pkg/controller/ttlafterfinished/ttlafterfinished_controller.go

    	if err != nil {
    		return err
    	}
    
    	// Ignore the Jobs that are already deleted or being deleted, or the ones that don't need clean up.
    	job, err := tc.jLister.Jobs(namespace).Get(name)
    
    	logger := klog.FromContext(ctx)
    	logger.V(4).Info("Checking if Job is ready for cleanup", "job", klog.KRef(namespace, name))
    
    	if errors.IsNotFound(err) {
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 23:59:28 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. tests/integration/ambient/waypoint_test.go

    						if !errors.Is(err, kubetest.ErrNoPodsFetched) {
    							return fmt.Errorf("failed to check gateway status: %v", err)
    						}
    					} else {
    						return fmt.Errorf("failed to delete multiple gateways: %s not cleaned up", name)
    					}
    				}
    				return nil
    			}, retry.Timeout(15*time.Second), retry.BackoffDelay(time.Millisecond*100))
    
    			// delete all waypoints in namespace, so w3 should be deleted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/Daemon.java

                            daemonRegistry.remove(connectorAddress);
                        } catch (Exception e) {
                            LOGGER.debug("VM shutdown hook was unable to remove the daemon address from the registry. It will be cleaned up later.", e);
                        }
                    }
                });
    
                Runnable onStartCommand = new Runnable() {
                    @Override
                    public void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top