Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIssue20160 (0.2 sec)

  1. src/database/sql/sql_test.go

    			// if the rollback itself isn't guarded.
    			tx.Rollback()
    		}()
    	}
    	wg.Wait()
    }
    
    // TestIssue20160 attempts to test a short context life on a stmt Query.
    func TestIssue20160(t *testing.T) {
    	db := newTestDB(t, "people")
    	defer closeDB(t, db)
    
    	ctx := context.Background()
    	sem := make(chan bool, 20)
    	var wg sync.WaitGroup
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top