Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test stability #596

Merged
merged 59 commits into from
Jan 7, 2019
Merged
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
352eb49
add yaml config
jopohl Jan 6, 2019
4b0317c
update build trigger
jopohl Jan 6, 2019
8905d57
add flag
jopohl Jan 6, 2019
7720b3b
update file
jopohl Jan 6, 2019
a097974
skip broken pytest
jopohl Jan 6, 2019
46e946e
install deps
jopohl Jan 6, 2019
66013e0
add osx
jopohl Jan 6, 2019
a3b714d
adaptions
jopohl Jan 6, 2019
99ecd47
fix osx
jopohl Jan 6, 2019
82c21c3
start xvfb
jopohl Jan 6, 2019
69576aa
add env var
jopohl Jan 6, 2019
1d162c9
use xfvb run
jopohl Jan 6, 2019
3e92c08
start xvfb
jopohl Jan 6, 2019
2cf63c6
add flag
jopohl Jan 6, 2019
d7f6378
adapt path
jopohl Jan 6, 2019
b285e5a
use pytest xfvb
jopohl Jan 6, 2019
f779a7c
debug windows error
jopohl Jan 6, 2019
e6599cb
debug windows error
jopohl Jan 6, 2019
3cb5bf1
disable teardown for test
jopohl Jan 6, 2019
e70c771
try different setup
jopohl Jan 6, 2019
7e030a5
fix constructor
jopohl Jan 6, 2019
aad1e90
add gc collect
jopohl Jan 6, 2019
67a0932
increase timeout for ci
jopohl Jan 6, 2019
dcee074
debug win
jopohl Jan 6, 2019
81df2b9
catch relpath error
jopohl Jan 6, 2019
602471f
remove debug line
jopohl Jan 6, 2019
f871adb
improve log
jopohl Jan 6, 2019
5bff482
winfix
jopohl Jan 6, 2019
6e10450
winfix
jopohl Jan 6, 2019
c0fd148
more fixes
jopohl Jan 6, 2019
d7740f6
make calls win compat
jopohl Jan 6, 2019
e841832
catch relpath
jopohl Jan 6, 2019
a339995
update code.py
jopohl Jan 6, 2019
3f50c79
add cov config
jopohl Jan 6, 2019
143db77
download drivers
jopohl Jan 7, 2019
3c1602e
fix syntax
jopohl Jan 7, 2019
d049046
fix syntax
jopohl Jan 7, 2019
5d4aacd
fix syntax
jopohl Jan 7, 2019
36bc589
update var
jopohl Jan 7, 2019
b28e06c
add debug
jopohl Jan 7, 2019
414012a
add braces
jopohl Jan 7, 2019
fb539f0
fix var name
jopohl Jan 7, 2019
8335eec
add braces
jopohl Jan 7, 2019
95b4700
add braces
jopohl Jan 7, 2019
716962b
add
jopohl Jan 7, 2019
b79a729
rename to python arch
jopohl Jan 7, 2019
7b4f77b
remove echos
jopohl Jan 7, 2019
7d79ee8
improve test
jopohl Jan 7, 2019
5231fea
coverage only for python 3.6
jopohl Jan 7, 2019
965bcd1
add coveralls
jopohl Jan 7, 2019
31777d5
add testrun
jopohl Jan 7, 2019
95c7d79
change var
jopohl Jan 7, 2019
28ee525
change var
jopohl Jan 7, 2019
133f1cc
dummy commit
jopohl Jan 7, 2019
033b28e
test var
jopohl Jan 7, 2019
0a92113
add timeout for ci
jopohl Jan 7, 2019
78fceb0
remove coverage upload from travis
jopohl Jan 7, 2019
7fb5c47
reset travis
jopohl Jan 7, 2019
9a24cf7
integrate changes
jopohl Jan 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improve test
jopohl committed Jan 7, 2019

Verified

This commit was signed with the committer’s verified signature.
Two-Hearts Patrick Zheng
commit 7d79ee86feb3b7ec9c4e19eee1e7c14dc398e904
2 changes: 1 addition & 1 deletion tests/test_simulator.py
Original file line number Diff line number Diff line change
@@ -345,7 +345,7 @@ def test_external_program_simulator(self):
self.alice.send_raw_data(np.zeros(self.num_zeros_for_pause, dtype=np.complex64), 1)

bits = self.__demodulate(conn)
self.assertEqual(bits[0], "101010101")
self.assertEqual(bits[0].rstrip("0"), "101010101")
time.sleep(0.5)

QTest.qWait(1000)