mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix: Remove expensive logs table migration (#11920)
This commit is contained in:
@@ -79,5 +79,8 @@ class TestEventLogger(unittest.TestCase):
|
||||
result = test_func(1, karg1=2) # pylint: disable=no-value-for-parameter
|
||||
self.assertEqual(result, 2)
|
||||
# should contain only manual payload
|
||||
self.assertEqual(mock_log.call_args[1]["records"], [{"foo": "bar"}])
|
||||
self.assertEqual(
|
||||
mock_log.call_args[1]["records"],
|
||||
[{"foo": "bar", "path": "/", "path_no_param": "/", "ref": None}],
|
||||
)
|
||||
assert mock_log.call_args[1]["duration_ms"] >= 100
|
||||
|
||||
Reference in New Issue
Block a user