- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for expectedState (0.28 sec)
-
pkg/kubelet/winstats/network_stats_test.go
// Make sure that we only have data from a single net adapter. expectedStats := cadvisorapi.InterfaceStats{ Name: fakeAdapterName, RxPackets: 1, TxPackets: 1, RxBytes: 1, TxBytes: 1, RxDropped: 1, RxErrors: 1, TxDropped: 1, TxErrors: 1, } assert.Equal(t, []cadvisorapi.InterfaceStats{expectedStats}, data)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 12:08:15 UTC 2023 - 5.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
} } else if (expectedStats.count() == 1) { assertThat(actualStats.mean()).isWithin(ALLOWED_ERROR).of(expectedStats.mean()); assertThat(actualStats.populationVariance()).isWithin(0.0).of(0.0); assertThat(actualStats.min()).isWithin(ALLOWED_ERROR).of(expectedStats.min()); assertThat(actualStats.max()).isWithin(ALLOWED_ERROR).of(expectedStats.max()); } else {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 09 22:49:56 UTC 2023 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
import junit.framework.TestCase; /** * Tests for {@link Uninterruptibles}. * * @author Anthony Zana */ public class UninterruptiblesTest extends TestCase { private static final String EXPECTED_TAKE = "expectedTake"; /** Timeout to use when we don't expect the timeout to expire. */ private static final long LONG_DELAY_MS = 2500; private static final long SLEEP_SLACK = 2;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 16:06:39 UTC 2024 - 31.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
import junit.framework.TestCase; /** * Tests for {@link Uninterruptibles}. * * @author Anthony Zana */ public class UninterruptiblesTest extends TestCase { private static final String EXPECTED_TAKE = "expectedTake"; /** Timeout to use when we don't expect the timeout to expire. */ private static final long LONG_DELAY_MS = 2500; private static final long SLEEP_SLACK = 2;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 30.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope_test.go
func TestEnvelopeTransformerStaleness(t *testing.T) { t.Parallel() testCases := []struct { desc string expectedStale bool testErr error testKeyID string useSeedWrite bool useSeedRead bool }{ { desc: "stateFunc returns err", expectedStale: false, testErr: fmt.Errorf("failed to perform status section of the healthz check for KMS Provider"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 25 16:50:20 UTC 2023 - 47.2K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java
Collection<State> expectedStates = Arrays.asList(states); lock.lock(); try { while (!expectedStates.contains(state)) { if (!condition.awaitUntil(expiry)) { throw new IllegalStateException(String.format("Timeout waiting for one of: %s", expectedStates)); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 23.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_image_test.go
images := []string{"1111", "2222", "3333"} fakeImageService.SetFakeImages(images) actualStats, err := fakeManager.ImageStats(ctx) assert.NoError(t, err) expectedStats := &kubecontainer.ImageStats{TotalStorageBytes: imageSize * uint64(len(images))} assert.Equal(t, expectedStats, actualStats) } func TestImageStatsWithError(t *testing.T) { ctx := context.Background()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 12.8K bytes - Viewed (0)