File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 48
48
(assoc op :type :ok :value value))))))
49
49
50
50
(teardown! [_ test]
51
- (cl/with-conn-failure-retry conn
52
- (j/execute! conn [(str " DROP TABLE IF EXISTS " table-name)])))
51
+ (when-not (:leave-db-running? test)
52
+ (cl/with-conn-failure-retry conn
53
+ (j/execute! conn [(str " DROP TABLE IF EXISTS " table-name)]))))
53
54
54
55
(close! [_ test]))
55
56
Original file line number Diff line number Diff line change 74
74
(assoc op :type :fail )))))))
75
75
76
76
(teardown! [_ test]
77
- (cl/with-conn-failure-retry conn
78
- (j/execute! conn [(str " DROP TABLE IF EXISTS " table-name)])))
77
+ (when-not (:leave-db-running? test)
78
+ (cl/with-conn-failure-retry conn
79
+ (j/execute! conn [(str " DROP TABLE IF EXISTS " table-name)]))))
79
80
80
81
(close! [_ test]))
81
82
Original file line number Diff line number Diff line change 45
45
(assoc op :type :ok , :value )))))))
46
46
47
47
(teardown! [_ test]
48
- (cl/with-conn-failure-retry conn
49
- (j/execute! conn [(str " DROP TABLE IF EXISTS " table-name)])))
48
+ (when-not (:leave-db-running? test)
49
+ (cl/with-conn-failure-retry conn
50
+ (j/execute! conn [(str " DROP TABLE IF EXISTS " table-name)]))))
50
51
51
52
(close! [_ test]))
52
53
You can’t perform that action at this time.
0 commit comments