Skip to content

Add python unit testing to CI testing - #366

Merged
mhmerrill merged 11 commits into
Bears-R-Us:masterfrom
ronawho:improve-unit-testing
May 7, 2020
Merged

mhmerrill merged 11 commits into
Bears-R-Us:masterfrom
ronawho:improve-unit-testing

Conversation

@ronawho

@ronawho ronawho commented May 7, 2020

Copy link
Copy Markdown
Contributor

Add make test-python to the CI testing. This required a few changes in order to get things working and stable:

I ran 100 trials of make test-python on my laptop, a linux server, a Cray-CS with InfiniBand, and a Cray-XC

ronawho added 11 commits May 7, 2020 14:08
The use of multiprocessing to shutdown the server seemed to be causing hangs
under pytest. Switch to just calling a subprocess to shutdown.
Utilize some of the existing infrastructure to start and stop the
server. This enables running on Crays and clusters (the main change is
that this infrastructure waits for the server to start and communicates
the host/port information over a file.)
It seems like any of the string tests can sporadically fail. This makes
me wonder if the random string generation is producing invalid strings
(non-utf8, or non whatever arkouda/numpy expect)
See issue 365 for more info
@ronawho

ronawho commented May 7, 2020

Copy link
Copy Markdown
Contributor Author

@ronawho

ronawho commented May 7, 2020

Copy link
Copy Markdown
Contributor Author

cc @hokiegeek2 (can't request you as a reviewer for some reason) and @mhmerrill

@ronawho
ronawho requested a review from mhmerrill May 7, 2020 20:08
@mhmerrill

Copy link
Copy Markdown
Contributor

cc @hokiegeek2 (can't request you as a reviewer for some reason) and @mhmerrill

I've never been able to request a review or assign to @hokiegeek2 I think it is something about his account...

@mhmerrill mhmerrill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

things look good

@mhmerrill
mhmerrill merged commit 365f804 into Bears-R-Us:master May 7, 2020
@ronawho
ronawho deleted the improve-unit-testing branch May 8, 2020 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants