Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestQueueStoreListN (0.13 sec)

  1. internal/store/queuestore_test.go

    	if _, err := store.Put(testItem); err == nil {
    		t.Fatalf("Expected to fail with %s, but passes", errLimitExceeded)
    	}
    }
    
    // TestQueueStoreLimit - tests for store.LimitN.
    func TestQueueStoreListN(t *testing.T) {
    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    			t.Fatal("Failed to tear down store ", err)
    		}
    	}()
    	store, err := setUpQueueStore(queueDir, 10)
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top