Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCompactConflict (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/etcd3/compact_test.go

    		t.Errorf("Expecting ErrCompacted, but get=%v err=%v", obj, err)
    	}
    }
    
    // TestCompactConflict tests that two compactors (Let's use C1, C2) are trying to compact etcd cluster with the same
    // logical time.
    // - C1 compacts first. It will succeed.
    // - C2 compacts after. It will fail. But it will get latest logical time, which should be larger by one.
    func TestCompactConflict(t *testing.T) {
    	client := testserver.RunEtcd(t, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 14:22:57 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top