Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDecoderReaderFailure (0.21 sec)

  1. internal/s3select/jstream/decoder_test.go

    	}
    	if kvcounter != 15 {
    		t.Fatalf("expected 15 keyvalue items, got %d", kvcounter)
    	}
    	if counter != 0 {
    		t.Fatalf("expected 0 items, got %d", counter)
    	}
    }
    
    func TestDecoderReaderFailure(t *testing.T) {
    	var (
    		failAfter = 900
    		mockData  = byte('[')
    	)
    
    	r := newMockReader(failAfter, mockData)
    	decoder := NewDecoder(r, -1)
    
    	for mv := range decoder.Stream() {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top