File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -232,6 +232,10 @@ flake-unit-race:
232232 @$(call print, "Flake hunting races in unit tests.")
233233 while [ $$ ? -eq 0 ]; do make unit-race nocache=1; done
234234
235+ flake-unit-race-trace :
236+ @$(call print, "Flake hunting races in unit tests.")
237+ while [ $$ ? -eq 0 ]; do make unit-race log=' stdout trace' nocache=1; done
238+
235239# =============
236240# FUZZING
237241# =============
Original file line number Diff line number Diff line change 7474# are provided, we default to "nolog" which will be silent.
7575ifneq ($(log ) ,)
7676LOG_TAGS := ${log}
77+ TEST_FLAGS += -test.v
7778else
7879LOG_TAGS := nolog
7980endif
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ func parseSqliteError(sqliteErr *sqlite.Error) error {
5555
5656 // A write operation could not continue because of a conflict within the
5757 // same database connection.
58- case sqlite3 .SQLITE_LOCKED :
58+ case sqlite3 .SQLITE_LOCKED , sqlite3 . SQLITE_BUSY_SNAPSHOT :
5959 return & ErrDeadlockError {
6060 DbError : sqliteErr ,
6161 }
You can’t perform that action at this time.
0 commit comments