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:
232
232
@$(call print, "Flake hunting races in unit tests.")
233
233
while [ $$ ? -eq 0 ]; do make unit-race nocache=1; done
234
234
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
+
235
239
# =============
236
240
# FUZZING
237
241
# =============
Original file line number Diff line number Diff line change 74
74
# are provided, we default to "nolog" which will be silent.
75
75
ifneq ($(log ) ,)
76
76
LOG_TAGS := ${log}
77
+ TEST_FLAGS += -test.v
77
78
else
78
79
LOG_TAGS := nolog
79
80
endif
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ func parseSqliteError(sqliteErr *sqlite.Error) error {
55
55
56
56
// A write operation could not continue because of a conflict within the
57
57
// same database connection.
58
- case sqlite3 .SQLITE_LOCKED :
58
+ case sqlite3 .SQLITE_LOCKED , sqlite3 . SQLITE_BUSY_SNAPSHOT :
59
59
return & ErrDeadlockError {
60
60
DbError : sqliteErr ,
61
61
}
You can’t perform that action at this time.
0 commit comments