8000 Bugfix/fix test arangod shutdown command by dothebart · Pull Request #3260 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Bugfix/fix test arangod shutdown command #3260

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

Merged
merged 4 commits into from
Sep 26, 2017

Conversation

dothebart
Copy link
Contributor

Windows may not wait long enough after using killExternal to shut down arangodb and tests may fail.

…er, use it to send a shutdown signal to the SUT.

If not, fall back to using a download http request.
@fceller fceller added the 9 WIP label Sep 15, 2017
@@ -758,6 +758,18 @@ function shutdownArangod (arangod, options, forceTerminate) {
} else if (options.useKillExternal) {
killExternal(arangod.pid);
} else {
if (arango.isConnected) {
Copy link
Contributor

Choose a reason for hiding this comment

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

arango.isConnected()?

return;
} catch (x) {
print('failed to shut down arangod via our connection!');
print(x);
Copy link
Contributor

Choose a reason for hiding this comment

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

@dothebart Why not use killExternal in case of failure?

@fceller fceller merged commit 3afebae into devel Sep 26, 2017
neunhoef added a commit that referenced this pull request Sep 27, 2017
@fceller fceller deleted the bugfix/fix_test_arangod_shutdown_command branch September 28, 2017 12:48
ObiWahn added a commit that referenced this pull request Sep 29, 2017
…ult-cache

* origin: (85 commits)
  rework process handling (#3322)
  Bug fix/agency compactor deadlock (#3335)
  restore the feature to be able to specify the CXX via the environment. (#3340)
  try to work around some assertions (#3296)
  Feature/jenkins pipeline (#3338)
  Feature/switch to 3.3 (#3336)
  Bug fix/sort out agency locks (#3306)
  Revert "shut 
7E87
down the second instance properly (#3332)"
  Revert "Bugfix/fix test arangod shutdown command (#3260)"
  fixed duplicate variable
  fixed links in results.html overview
  fixed jslint
  fixed missing cleanBuild check
  shut down the second instance properly (#3332)
  Feature/jenkins pipeline (#3327)
  increase default value for /proc/sys/vm/max_map_count (#3321)
  show warnings if curl work thread is blocked by error/success cbs (#3316)
  During the startup of arangod the client will fail to connect. (#3302)
  set minimum required GCC version to 5.4 (#3298)
  Feature/mmfiles hash lookup performance (#3265)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0