Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,234 for expectEq (0.07 sec)

  1. docs/kms/IAM.md

    to set it up refer to our [KMS Guide](https://github.com/minio/minio/blob/master/docs/kms/README.md).
    
    Instead of configuring an external KMS you can start with a single key by
    setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following
    format:
    
    ```sh
    MINIO_KMS_SECRET_KEY=<key-name>:<base64-value>
    ```
    
    First generate a 256 bit random key via:
    
    ```sh
    $ cat /dev/urandom | head -c 32 | base64 -
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. internal/event/rules_test.go

    		result := testCase.rules.Clone()
    
    		if !reflect.DeepEqual(result, testCase.rules) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.rules, result)
    		}
    
    		result.Add(NewPattern(testCase.prefix, ""), testCase.targetID)
    		if reflect.DeepEqual(result, testCase.rules) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesUnion(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  3. docs/distributed/decom-encrypted-sse-s3.sh

    fi
    
    ./mc version info myminio/versioned | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected versioning enabled after expansion"
    	exit 1
    fi
    
    ./mc encrypt info myminio/versioned | grep -q "Auto encryption 'sse-s3' is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "expected encryption enabled after expansion"
    	exit 1
    fi
    
    ./mc mirror cmd myminio/versioned/ --quiet >/dev/null
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	got := 0
    	for resp := range st.responses {
    		// t.Log("got response", resp)
    		errFatal(resp.Err)
    		if resp.Msg[0] != byte(got) {
    			t.Error("expected response", got, "got", resp.Msg[0])
    		}
    		got++
    	}
    	if got != 100 {
    		t.Error("expected 100 responses, got", got)
    	}
    }
    
    func testServerInCongestion(t *testing.T, local, remote *Manager) {
    	defer testlogger.T.SetErrorTB(t)()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. cmd/xl-storage_unix_test.go

    	if err = disk.MakeVol(context.Background(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Stat to get permissions bits.
    	st, err := os.Stat(path.Join(tmpPath, testCase.volName))
    	if err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    
    	// Get umask of the bits stored.
    	currentUmask := 0o777 - uint32(st.Mode().Perm())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/net/InetAddressesTest.java

      }
    
      public void testForUriStringIPv4() {
        Inet4Address expected = (Inet4Address) InetAddresses.forString("192.168.1.1");
        assertEquals(expected, InetAddresses.forUriString("192.168.1.1"));
      }
    
      public void testForUriStringIPv6() {
        Inet6Address expected = (Inet6Address) InetAddresses.forString("3ffe:0:0:0:0:0:0:1");
        assertEquals(expected, InetAddresses.forUriString("[3ffe:0:0:0:0:0:0:1]"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      protected final void expectReplacement(Entry<K, V> newEntry) {
        List<Entry<K, V>> expected = copyToList(getSampleElements());
        replaceValue(expected, newEntry);
        expectContents(expected);
      }
    
      private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) {
        for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
          if (Helpers.equal(i.next().getKey(), newEntry.getKey())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

            }
    
            override fun source(): BufferedSource {
              return Buffer().writeUtf8("hello")
            }
          }
        assertFailsWith<IOException> {
          body.bytes()
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Content-Length (10) and stream length (5) disagree",
          )
        }
      }
    
      @Test
      fun bytesThrowsMoreThanIntMaxValue() {
        val body: ResponseBody =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("expected:<class ", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      private static class ClassWhichDoesNotImplementEquals implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        boolean errorNotThrown = false;
        try {
          SerializableTester.reserializeAndAssert(orig);
          errorNotThrown = true;
        } catch (AssertionFailedError error) {
          // expected
          assertContains("expected:<class ", error.getMessage());
        }
        assertFalse(errorNotThrown);
      }
    
      private static class ClassWhichDoesNotImplementEquals implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top