mgedmin / mgedmin/dozer

Non-deterministic test failure in test_count_objects

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
Python
Stars
94
Forks
11
PR merge metrics
No merged PRs in 30d

Description

This looks like a non-deterministic test failure:

```
======================================================================
FAIL: test_count_objects (dozer.tests.test_reftree.TestGlobals)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/mgedmin/dozer/dozer/tests/test_reftree.py", line 61, in test_count_objects
self.assertTrue((1, MyObj) in res)
AssertionError: False is not true
```

-- https://travis-ci.org/mgedmin/dozer/jobs/192265786

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with dozer/tests/test_reftree.py, especially test_count_objects at line 61, and compare the failure with the Travis CI job linked in the issue. Reproduce the test failure and investigate why (1, MyObj) is absent from res; done means the test is reliable and passes consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.