diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 11:14:11 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-02-25 11:14:11 +0000 |
commit | 476932cdef7779a1d68e20074843fe280517b102 (patch) | |
tree | 7ede9364aad3a5453c9dfd098892483cdc5a04df /tests/handlers/test_stats.py | |
parent | Switch to using v2 Identity Service APIs other than lookup (MSC 2140) (#5892) (diff) | |
download | synapse-476932cdef7779a1d68e20074843fe280517b102.tar.xz |
Increase expected state events in tests for new room by one
Diffstat (limited to '')
-rw-r--r-- | tests/handlers/test_stats.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/handlers/test_stats.py b/tests/handlers/test_stats.py index 7569b6fab5..207bf88c01 100644 --- a/tests/handlers/test_stats.py +++ b/tests/handlers/test_stats.py @@ -21,8 +21,12 @@ from tests import unittest # The expected number of state events in a fresh public room. EXPT_NUM_STATE_EVTS_IN_FRESH_PUBLIC_ROOM = 5 + # The expected number of state events in a fresh private room. -EXPT_NUM_STATE_EVTS_IN_FRESH_PRIVATE_ROOM = 6 +# +# Note: we increase this by 1 on the dinsic branch as we send +# a "im.vector.room.access_rules" state event into new private rooms +EXPT_NUM_STATE_EVTS_IN_FRESH_PRIVATE_ROOM = 7 class StatsRoomTests(unittest.HomeserverTestCase): @@ -631,6 +635,7 @@ class StatsRoomTests(unittest.HomeserverTestCase): self.assertEqual(u1stats["joined_rooms"], 1) + @unittest.DEBUG def test_incomplete_stats(self): """ This tests that we track incomplete statistics. |