Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 172 for isSucceeded (0.07 sec)

  1. docs/bucket/replication/test_del_marker_proxying.sh

    	./mc rm sitea/bucket/obj$loop_count
    	RESULT=$({ ./mc stat --no-list sitea/bucket/obj$loop_count; } 2>&1)
    	if [[ ${RESULT} != *"Object does not exist"* ]]; then
    		echo "BUG: stat should fail. succeeded."
    		exit_1
    	fi
    	loop_count=$((loop_count + 1))
    done
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. internal/etag/etag_test.go

    }
    
    func TestParse(t *testing.T) {
    	for i, test := range parseTests {
    		etag, err := Parse(test.String)
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: parse should have failed but succeeded", i)
    		}
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: failed to parse ETag %q: %v", i, test.String, err)
    		}
    		if !Equal(etag, test.ETag) {
    			t.Log([]byte(etag))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. docs/iam/policies/pbac-tests.sh

    ret=$?
    if [ $ret -eq 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc with invalid sse-kms should fail. Succeeded"
    	exit 1
    fi
    
    kill $pid
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. internal/kms/config_test.go

    			os.Setenv(k, v)
    		}
    
    		ok, err := IsPresent()
    		if err != nil && !test.ShouldFail {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		if err == nil && test.ShouldFail {
    			t.Fatalf("Test %d: should have failed but succeeded", i)
    		}
    
    		if !test.ShouldFail && ok != test.IsPresent {
    			t.Fatalf("Test %d: reported that KMS present=%v - want present=%v", i, ok, test.IsPresent)
    		}
    	}
    }
    
    var isPresentTests = []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. .github/workflows/build-docs.yml

        if: always()
        needs:
          - build-docs
        runs-on: ubuntu-latest
        steps:
          - name: Decide whether the needed jobs succeeded or failed
            uses: re-actors/alls-green@release/v1
            with:
              jobs: ${{ toJSON(needs) }}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. internal/ringbuffer/ring_buffer.go

    		}
    		n, err = r.read(p)
    	}
    	if r.block && n > 0 {
    		r.readCond.Broadcast()
    	}
    	return n, err
    }
    
    // TryRead read up to len(p) bytes into p like Read but it is not blocking.
    // If it has not succeeded to acquire the lock, it return 0 as n and ErrAcquireLock.
    func (r *RingBuffer) TryRead(p []byte) (n int, err error) {
    	ok := r.mu.TryLock()
    	if !ok {
    		return 0, ErrAcquireLock
    	}
    	defer r.mu.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            TransferEvent transferProgressedEvent = event(session, resource, TransferEvent.EventType.PROGRESSED);
            TransferEvent transferSucceededEvent = event(session, resource, TransferEvent.EventType.SUCCEEDED);
    
            listener.transferInitiated(transferInitiatedEvent);
            listener.transferStarted(transferStartedEvent);
            listener.transferProgressed(transferProgressedEvent);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. .github/workflows/test.yml

        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - name: Decide whether the needed jobs succeeded or failed
            uses: re-actors/alls-green@release/v1
            with:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           * other callers have added to it.
           *
           * This read is guaranteed to get us the right value because we only set this once (here).
           *
           * requireNonNull is safe because either our compareAndSet succeeded or it failed because
           * another thread did it for us.
           */
          seenExceptionsLocal = requireNonNull(seenExceptions);
        }
        return seenExceptionsLocal;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

            // this one should block until all processed
            listener.transferSucceeded(new TransferEvent.Builder(session, resource)
                    .setType(TransferEvent.EventType.SUCCEEDED)
                    .build());
    
            StringBuilder message = new StringBuilder("Messages [");
            boolean test = true;
            for (int i = 0; i < 999; i++) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top