mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 19:37:51 +00:00
shorten MultiTx test
The MultiTx test runs for a fairly long time but doesn't add much value running that much longer, and there's no reason it should take more than half the time we spend on this entire directory.
This commit is contained in:
parent
112abcb549
commit
719a30e128
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ func TestDB_MultiTx(t *testing.T) {
|
|||
}
|
||||
|
||||
// Continuously set/clear bits while readers are executing.
|
||||
for i := 0; i < 1000; i++ {
|
||||
for i := 0; i < 100; i++ {
|
||||
func() {
|
||||
tx, err := db.Begin(true)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue