Skip to content

Intermittent test failures #213

Description

@daneos

While running test suite in conda build, I've experienced intermittent test failures with

Traceback (most recent call last):
  File "%SRC_DIR%_run_env\lib\site-packages\p4p\test\utils.py", line 112, in setUp
    super(RefTestCase, self).setUp()
  File "%SRC_DIR%_run_env\lib\site-packages\p4p\test\utils.py", line 54, in setUp
    self.fail('Leftovers from previous test: %s = %d'%(mustzero, self.__before[mustzero]))
AssertionError: Leftovers from previous test: ClientContextImpl = 2

When this happens, almost all tests fail with this message.
I've seen this for different OSes and architectures, mostly for osx and windows,
The value of ClientContextImpl is either 1 or 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions