Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testTimeouts (0.26 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGTestFrameworkIntegrationTest.groovy

            testResult.testClass('TestNG18566')
                .assertTestCount(1, 1, 0)
                .testFailed("testTimeout",  containsNormalizedString("Method TestNG18566.testTimeout() didn't finish within the time-out 10"))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_timeout.txt

    # An explicit -timeout argument should be propagated to -test.timeout.
    go test -v -timeout 30m . --
    stdout '30m0s'
    
    -- a/timeout_test.go --
    package t
    import (
    	"flag"
    	"fmt"
    	"testing"
    )
    func TestTimeout(t *testing.T) {
    	fmt.Println(flag.Lookup("test.timeout").Value.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 04 20:38:05 UTC 2019
    - 448 bytes
    - Viewed (0)
  3. src/internal/testenv/exec.go

    				}
    				gracePeriod *= time.Duration(scale)
    			}
    
    			// If time allows, increase the termination grace period to 5% of the
    			// test's remaining time.
    			testTimeout := time.Until(td)
    			if gp := testTimeout / 20; gp > gracePeriod {
    				gracePeriod = gp
    			}
    
    			// When we run commands that execute subprocesses, we want to reserve two
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 27 17:53:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. pkg/controller/nodeipam/ipam/timeout_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package ipam
    
    import (
    	"errors"
    	"testing"
    	"time"
    )
    
    func TestTimeout(t *testing.T) {
    	time10s := 10 * time.Second
    	time5s := 5 * time.Second
    	timeout := &Timeout{
    		Resync:       time10s,
    		MaxBackoff:   time5s,
    		InitialRetry: time.Second,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 20:48:08 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        assertEquals("TestService [RUNNING]", service.toString());
        service.stopAsync().awaitTerminated();
        assertEquals("TestService [TERMINATED]", service.toString());
      }
    
      public void testTimeout() throws Exception {
        // Create a service whose executor will never run its commands
        Service service =
            new TestService() {
              @Override
              protected Executor executor() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        assertEquals("TestService [RUNNING]", service.toString());
        service.stopAsync().awaitTerminated();
        assertEquals("TestService [TERMINATED]", service.toString());
      }
    
      public void testTimeout() throws Exception {
        // Create a service whose executor will never run its commands
        Service service =
            new TestService() {
              @Override
              protected Executor executor() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top