- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 337 for succeed (0.05 sec)
-
docs/iam/policies/pbac-tests.sh
ret=$? if [ $ret -ne 0 ]; then echo "BUG: PutObject to bucket: test-bucket should succeed. Failed" exit 1 fi mc cp /etc/issue myminio1/multi-key-poc | grep -q "Insufficient permissions to access this path" ret=$? if [ $ret -eq 0 ]; then echo "BUG: PutObject to bucket: multi-key-poc without sse-kms should fail. Succedded" exit 1 fi
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 25 01:15:27 UTC 2024 - 2.5K bytes - Viewed (0) -
internal/arn/arn_test.go
}{ { name: "valid resource ID must succeed", args: args{ resourceID: "my-role", serverRegion: "us-east-1", }, want: ARN{ Partition: "minio", Service: "iam", Region: "us-east-1", ResourceType: "role", ResourceID: "my-role", }, wantErr: false, }, { name: "valid resource ID must succeed", args: args{ resourceID: "-my-role",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
n, err := w.Write([]byte("abcd")) w.Close() if err != nil { t.Errorf("DeadlineWriter should succeed but failed with %s", err) } if n != 4 { t.Errorf("DeadlineWriter should succeed but should have only written 4 bytes, but returned %d instead", n) } } func TestCloseOnWriter(t *testing.T) { writer := WriteOnClose(io.Discard) if writer.HasWritten() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/net_test.go
host, port, err := extractHostPort(testCase.addr) if testCase.expectedErr == nil && err != nil { t.Fatalf("Test %d: should succeed but failed with err: %v", i+1, err) } if testCase.expectedErr != nil && err == nil { t.Fatalf("Test %d:, should fail but succeeded.", i+1) } if err == nil { if host != testCase.host { t.Fatalf("Test %d: expected: %v, found: %v", i+1, testCase.host, host) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
long oldValue = atomic.get(); if (oldValue == 0L || atomic.compareAndSet(oldValue, 0L)) { // only remove after setting to zero, to avoid concurrent updates map.remove(key, atomic); // succeed even if the remove fails, since the value was already adjusted return oldValue; } } } /** * If {@code (key, value)} is currently in the map, this method removes it and returns true;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.1K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
"--name", "valid-name", })).Should(Succeed()) g.Expect(o.prepare(ctx)).Should(Succeed()) o = RemoteSecretOptions{} flags = pflag.NewFlagSet("test", pflag.ContinueOnError) o.addFlags(flags) g.Expect(flags.Parse([]string{ "--name", "?-invalid-name", })).Should(Succeed()) g.Expect(o.prepare(ctx)).Should(Not(Succeed()))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
server.enqueue( MockResponse.Builder() .body("abc") .addHeader("Content-Type: text/plain") .build(), ) // Make a request from client to server. It should succeed certificate checks (unfortunately the // rogue CA is trusted) but it should fail certificate pinning. val request = Request.Builder() .url(server.url("/")) .build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* might be cancelled before we set the runner thread. That would make it impossible to * interrupt, yet it will still run, since interruptTask will leave the runner value null, * allowing the CAS below to succeed. */ Thread currentThread = Thread.currentThread(); if (!compareAndSet(null, currentThread)) { return; // someone else has run or is running. } boolean run = !isDone();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/FailedPlan.kt
* * Preemptive proxy authentication failed. * * Planning failures are not necessarily fatal. For example, even if we can't DNS lookup the first * proxy in a list, looking up a subsequent one may succeed. */ internal class FailedPlan(e: Throwable) : RoutePlanner.Plan { val result = RoutePlanner.ConnectResult(plan = this, throwable = e) override val isReady = false override fun connectTcp() = result
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.5K bytes - Viewed (0) -
cmd/erasure-object_test.go
} gr, err := obj.GetObjectNInfo(ctx, bucket, object, nil, nil, ObjectOptions{}) if err != nil { t.Fatalf("Expected GetObject to succeed, but failed with %v", err) } output := bytes.NewBuffer([]byte{}) _, err = io.Copy(output, gr) if err != nil { t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err) } gr.Close() if !bytes.Equal(output.Bytes(), smallData) { t.Fatalf("Corrupted data is found")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 36.8K bytes - Viewed (0)