- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 399 for fatal (0.05 sec)
-
internal/config/crypto_test.go
if err != nil { t.Fatalf("Test %d: failed to encrypt stream: %v", i, err) } plaintext, err := Decrypt(KMS, bytes.NewReader(data), test.Context) if err != nil { t.Fatalf("Test %d: failed to decrypt stream: %v", i, err) } data, err = io.ReadAll(plaintext) if err != nil { t.Fatalf("Test %d: failed to decrypt stream: %v", i, err) } if !bytes.Equal(data, test.Data) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/xl-storage_test.go
t.Fatal(err) } algo := HighwayHash256 h := algo.New() h.Write(data) hashBytes := h.Sum(nil) if err := storage.WriteAll(context.Background(), volName, fileName, data); err != nil { t.Fatal(err) } if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, hashBytes, 0); err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 66.7K bytes - Viewed (0) -
internal/bpool/bpool_test.go
if len(bp.c) > 0 { t.Fatal("bytepool should have rejected invalid packets") } // Try putting a short slice into pool bp.Put(make([]byte, bp.w, bp.wcap)[:2]) if len(bp.c) != 1 { t.Fatal("bytepool should have accepted short slice with sufficient capacity") } b = bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/batch-expire_test.go
delay: 500ms # least amount of delay between each retry ` var job BatchJobRequest err := yaml.Unmarshal([]byte(expireYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-expire yaml", err) } if !slices.Equal(job.Expire.Prefix.F(), []string{"myprefix"}) { t.Fatal("Failed to parse batch-job-expire yaml") } multiPrefixExpireYaml := ` expire: # Expire objects that match a condition apiVersion: v1
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
podIPs := []netip.Addr{podIP} err := netServer.AddPodToMesh(ctx, &corev1.Pod{ObjectMeta: podMeta}, podIPs, "faksens") assert.Equal(t, ztunnelServer.addedPods.Load(), 1) if !errors.Is(err, ErrPartialAdd) { t.Fatal("expected partial error") } } func TestDoesntReturnPartialErrorOnIptablesFail(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() setupLogging()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 25 16:13:38 UTC 2024 - 10.7K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
pod.UID: pod, }) if err != nil { panic(err) } defer podUIDNetns.Close() if len(podUIDNetns) == 0 { t.Fatal("expected to find pod netns") } expectedUID := "863b91d4-4b68-4efa-917f-4b560e3e86aa" if podUIDNetns[expectedUID] == (WorkloadInfo{}) { t.Fatal("expected to find pod netns under pod uid") } } // copied and modified from spire func TestGetContainerIDFromCGroups(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/LoggerAdapter.java
*/ package org.codelibs.core.log; /** * 任意のロギングフレームワークを利用するためのアダプタです。 * * @author koichik */ interface LoggerAdapter { boolean isFatalEnabled(); void fatal(String message); void fatal(String message, Throwable t); boolean isErrorEnabled(); void error(String message); void error(String message, Throwable t); boolean isWarnEnabled();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.3K bytes - Viewed (0) -
cni/test/install_cni.go
cniConfigMap, err := util.ReadCNIConfigMap(cniConfigFilepath) if err != nil { t.Fatal(err) } // Find Istio CNI and remove from plugin list plugins, err := util.GetPlugins(cniConfigMap) if err != nil { t.Fatal(err) } for i, rawPlugin := range plugins { plugin, err := util.GetPlugin(rawPlugin) if err != nil { t.Fatal(err) } if plugin["type"] == "istio-cni" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 11.3K bytes - Viewed (0) -
internal/s3select/select_test.go
testdataFile := "testdata/testdata.parquet" file, err := os.Open(testdataFile) if err != nil { t.Fatal(err) } s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML)) if err != nil { t.Fatal(err) } if err = s3Select.Open(file); err != nil { t.Fatal(err) } fmt.Printf("R: \nE: %s\n" /* string(w.response), */, string(testCase.expectedResult))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 76.2K bytes - Viewed (0) -
docs/sts/client-grants.go
if err != nil { log.Fatal(err) } // Uncomment this to use MinIO API operations by initializing minio // client with obtained credentials. opts := &minio.Options{ Creds: sts, BucketLookup: minio.BucketLookupAuto, } u, err := url.Parse(stsEndpoint) if err != nil { log.Fatal(err) } clnt, err := minio.New(u.Host, opts)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 3.3K bytes - Viewed (0)