Skip to content

Commit 22f9402

Browse files
committed
minor: fix intermittent test failures
Fixes #275
1 parent 8408607 commit 22f9402

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/inputs/jdbc_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@
259259
end
260260

261261
plugin.stop
262+
runner.join
263+
Timecop.return
262264
end
263265

264266
end
@@ -410,6 +412,7 @@
410412
event = queue.pop
411413
expect(event.get("num")).to eq(12)
412414
expect(event.get("custom_time").time).to eq(Time.iso8601("2015-01-02T03:21:21.000Z"))
415+
Timecop.return
413416
end
414417
end
415418

0 commit comments

Comments
 (0)