Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for check_heal (0.25 sec)

  1. buildscripts/verify-healing.sh

    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_heal() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		return 1
    	fi
    
    	for ((i = 0; i < 20; i++)); do
    		test -f ${WORK_DIR}/$1/1/.minio.sys/format.json
    		v1=$?
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. src/internal/trace/batchcursor_test.go

    	"slices"
    )
    
    func TestHeap(t *testing.T) {
    	var heap []*batchCursor
    
    	// Insert a bunch of values into the heap.
    	checkHeap(t, heap)
    	heap = heapInsert(heap, makeBatchCursor(5))
    	checkHeap(t, heap)
    	for i := int64(-20); i < 20; i++ {
    		heap = heapInsert(heap, makeBatchCursor(i))
    		checkHeap(t, heap)
    	}
    
    	// Update an element in the middle to be the new minimum.
    	for i := range heap {
    		if heap[i].ev.time == 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top