- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,046 for expecting (0.39 sec)
-
pkg/filewatcher/filewatcher_test.go
} _ = w.Close() if err := w.Add(name); err == nil { t.Error("Expecting error") } if err := w.Remove(name); err == nil { t.Error("Expecting error") } if ch := w.Errors(name); ch != nil { t.Error("Expecting nil") } if ch := w.Events(name); ch != nil { t.Error("Expecting nil") } } func TestBadWatcher(t *testing.T) { w := NewWatcher()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.9K bytes - Viewed (0) -
docs/site-replication/run-multi-site-ldap.sh
./mc stat minio2/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi ./mc stat minio3/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi ./mc cp README.md minio2/newbucket/ sleep 5 ./mc stat minio1/newbucket/README.md if [ $? -ne 0 ]; then echo "expecting object to be present. exiting.." exit_1 fi
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 10.1K bytes - Viewed (0) -
docs/site-replication/run-multi-site-oidc.sh
if [ $? -ne 0 ]; then echo "expecting the command to succeed, exiting.." exit_1 fi ./mc admin policy info minio3 projecta >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "expecting the command to succeed, exiting.." exit_1 fi ./mc admin policy remove minio3 projecta sleep 10 ./mc admin policy info minio1 projecta if [ $? -eq 0 ]; then echo "expecting the command to fail, exiting.." exit_1 fi
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 8.5K bytes - Viewed (0) -
security/pkg/server/ca/server_test.go
s, _ := status.FromError(err) code := s.Code() if code != c.code { t.Errorf("Case %s: expecting code to be (%d) but got (%d): %s", id, c.code, code, s.Message()) } else if c.code == codes.OK { if len(response.CertChain) != len(mockCertChain) { t.Errorf("Case %s: expecting cert chain length to be (%d) but got (%d)", id, len(mockCertChain), len(response.CertChain)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 15.8K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/header_test.go
}, }, }, } for _, tc := range testCases { t.Run(tc.Name, func(t *testing.T) { actual := HeaderMatcher(tc.K, tc.V) if !cmp.Equal(tc.Expect, actual, protocmp.Transform()) { t.Errorf("expecting %v, but got %v", tc.Expect, actual) } }) } } func TestHostMatcherWithRegex(t *testing.T) { testCases := []struct { Name string K string V string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 17 22:42:11 UTC 2023 - 6.3K bytes - Viewed (0) -
test/switch2.go
// Verify that erroneous switch statements are detected by the compiler. // Does not compile. package main func f() { switch { case 0; // ERROR "expecting := or = or : or comma|expected :" } switch { case 0; // ERROR "expecting := or = or : or comma|expected :" default: } switch { case 0: case 0: default: } switch { case 0: f(); case 0:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 01 22:37:04 UTC 2022 - 775 bytes - Viewed (0) -
pkg/config/validation/header_value_validator.go
} else if !isSpace(ch) { return errors.New("invalid header configuration. Expecting ',', ']', or whitespace") } case ExpectStringParserState: // Skip over whitespace looking for the starting quote of a JSON string. if ch == '"' { state = StringParserState } else if !isSpace(ch) { return errors.New("invalid header configuration. Expecting '\"'") } case StringParserState:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 15 21:37:52 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/cache/cache_test.go
v, ok := c.Get(key) if !ok { t.Errorf("Got false for key %s, expecting true", key) } else if v.(int) != j { t.Errorf("Got %d for key %s, expecting %d", v, key, j) } c.Remove(key) } wg.Done() }() } wg.Wait() stats := c.Stats() if stats.Misses != 0 { t.Errorf("Got %d misses, expecting %d", stats.Misses, 0) } if stats.Hits != uint64(workers*numIters) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:49 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 12.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TrackingHttpHandler.java
* * @return null when this handler is not expecting any further requests. */ @Nullable ResponseProducer selectResponseProducer(int id, HttpExchange exchange); boolean expecting(HttpExchange exchange); /** * Returns a precondition that asserts that this handler is not expecting any further requests to be released by the test in order to complete. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0)