Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBatchCommitOnExit (0.14 sec)

  1. internal/store/batch_test.go

    	if err != nil {
    		t.Fatalf("unable to read key %v; %v", key.String(), err)
    	}
    	if len(items) != int(limit) {
    		t.Fatalf("expected len(items)=%d; but got %v", limit, len(items))
    	}
    }
    
    func TestBatchCommitOnExit(t *testing.T) {
    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    			t.Fatalf("Failed to tear down store; %v", err)
    		}
    	}()
    	store, err := setUpQueueStore(queueDir, 100)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top