Commit 9dc6dbb
test: fix flaky MySQL test in test_update_v1_response
Add time.sleep(1) and normalize timestamps with .replace(microsecond=0)
to handle MySQL's second-level datetime precision. This prevents test
failures when the test executes within the same second.
- MySQL DATETIME defaults to second precision, truncating microseconds
- Pattern matches tests/integration_tests/dashboards/dao_tests.py
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent c2baba5 commit 9dc6dbb
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
383 | 384 | | |
384 | 385 | | |
385 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
386 | 390 | | |
387 | 391 | | |
388 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
389 | 396 | | |
390 | 397 | | |
391 | 398 | | |
| |||
0 commit comments