# HG changeset patch # User Goffi # Date 1643650552 -3600 # Node ID 7e51cfc36d4ece4c1a45826c0c262120bfa822c0 # Parent 43cc8c27adc7b8f7d6183d4536e98f802f0b7cc5 tests (e2e/CLI/set_get): fix RSM request: items are stored in chronological order in Pubsub, and as we want the more recent one, we need to set `before=''`. Otherwise, we can get a wrong item from a previous test. diff -r 43cc8c27adc7 -r 7e51cfc36d4e tests/e2e/libervia-cli/test_libervia-cli.py --- a/tests/e2e/libervia-cli/test_libervia-cli.py Mon Jan 31 18:35:52 2022 +0100 +++ b/tests/e2e/libervia-cli/test_libervia-cli.py Mon Jan 31 18:35:52 2022 +0100 @@ -189,7 +189,7 @@ def test_set_get(self, li_json): li.blog.set(_in="markdown **bold** [link](https://example.net)") - item_data = li_json.blog.get(max=1) + item_data = li_json.blog.get(max=1, before="") item = item_data[0][0] metadata = item_data[1] assert metadata['service'] == "account1@server1.test"