From dda1a83c0942dba7439fb4aab3aa447ef19b07e3 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Sat, 26 Oct 2013 12:30:49 -0700 Subject: [PATCH] Turning off the omnisharp server after test --- python/ycm/server/tests/get_completions_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/ycm/server/tests/get_completions_test.py b/python/ycm/server/tests/get_completions_test.py index 36054981..62970f3a 100644 --- a/python/ycm/server/tests/get_completions_test.py +++ b/python/ycm/server/tests/get_completions_test.py @@ -88,6 +88,12 @@ def GetCompletions_CsCompleter_Works_test(): assert_that( results, has_items( CompletionEntryMatcher( 'CursorLeft' ), CompletionEntryMatcher( 'CursorSize' ) ) ) + # We need to turn off the CS server so that it doesn't stick around + app.post_json( '/run_completer_command', + BuildRequest( completer_target = 'filetype_default', + command_arguments = ['StopServer'], + filetype = 'cs' ) ) + @with_setup( Setup ) def GetCompletions_ClangCompleter_WorksWithExplicitFlags_test():