Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,157 for expecting (0.16 sec)

  1. cmd/xl-storage-errors_test.go

    			t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY)
    		}
    	} else {
    		pathErr = &os.PathError{Err: syscall.Errno(0x91)}
    		ok = isSysErrNotEmpty(pathErr)
    		if !ok {
    			t.Fatal("Unexpected error expecting 0x91")
    		}
    	}
    	if runtime.GOOS == globalWindowsOSName {
    		pathErr = &os.PathError{Err: syscall.Errno(0x03)}
    		ok = isSysErrPathNotFound(pathErr)
    		if !ok {
    			t.Fatal("Unexpected error expecting 0x03")
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags_test.go

    				if err == nil || !strings.Contains(err.Error(), tc.expectedError) {
    					t.Errorf("expecting error %q, got %v", tc.expectedError, err)
    				}
    				return
    			}
    			if err != nil {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			if len(out.String()) != len(tc.expectedOutput) {
    				t.Errorf("unexpected output: expecting %q, got %q", tc.expectedOutput, out.String())
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags_test.go

    				if err == nil || !strings.Contains(err.Error(), tc.expectedParseError) {
    					t.Errorf("expecting error %q, got %v", tc.expectedError, err)
    				}
    				return
    			}
    			if err != nil {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			if !strings.Contains(out.String(), tc.expectedOutput) {
    				t.Errorf("unexpected output: expecting %q, got %q", tc.expectedOutput, out.String())
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ErrorParsingTest.kt

                        potentialElementSource = indexes: 2..16, line/column: 1/3..1/17, file: test,
                        erroneousSource = indexes: 16..16, line/column: 1/17..1/17, file: test
                    )
                )
                ErroneousStatement (
                    ParsingError(
                        message = Expecting an element,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 09:41:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/security/authz/model/util_test.go

    		actual, err := convertToPort(tc.V)
    		if tc.Err != "" {
    			if err == nil {
    				t.Errorf("%s: expecting error %s but found no error", tc.Name, tc.Err)
    			} else if !strings.HasPrefix(err.Error(), tc.Err) {
    				t.Errorf("%s: expecting error %s, but got: %s", tc.Name, tc.Err, err.Error())
    			}
    		} else if tc.Expect != actual {
    			t.Errorf("%s: expecting %d, but got %d", tc.Name, tc.Expect, actual)
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 30 00:00:33 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top