Skip to content

BROKEN: Duplicate messages on python client (and elsewhere) #22

@mikael-s-persson

Description

@mikael-s-persson

The python client test is broken right now. I bisected the issue down to one commit.

This commit:
5435370

Breaks the python client test:

$ bazel test --test_output=streamed -c dbg --config=libc++ //client/python:client_test 
WARNING: Streamed test output requested. All tests will be run locally, without sharding, one at a time
INFO: Analyzed target //client/python:client_test (0 packages loaded, 4 targets configured).
F.
======================================================================
FAIL: test_one_message (__main__.TestSubspaceClient.test_one_message)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/bazel-working-directory/_main/bazel-out/k8-dbg/bin/client/python/client_test.runfiles/_main/client/python/client_test.py", line 69, in test_one_message
    self.assertEqual(received_message, "Hello again!")
AssertionError: 'Hello world!' != 'Hello again!'
- Hello world!
+ Hello again!


----------------------------------------------------------------------
Ran 2 tests in 0.014s

FAILED (failures=1)
FAIL: //client/python:client_test

I'm seeing additional breakages on another set of tests that I have in our code-base. But they seem similar to this python failure, getting lots of duplicated messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions