Skip to content

Commit

Permalink
Retries always on java tests because java?
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Aug 9, 2019
1 parent 9c3aa23 commit d63374c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ycmd/tests/java/signature_help_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
from ycmd.tests.java import PathToTestFile, SharedYcmd
from ycmd.tests.test_utils import ( CombineRequest,
ParameterMatcher,
SignatureMatcher )
SignatureMatcher,
WithRetry )


def ProjectPath( *args ):
Expand Down Expand Up @@ -78,6 +79,7 @@ def RunTest( app, test ):
assert_that( response.json, test[ 'expect' ][ 'data' ] )


@WithRetry
@SharedYcmd
def SignatureHelp_MethodTrigger_test( app ):
RunTest( app, {
Expand Down Expand Up @@ -105,6 +107,7 @@ def SignatureHelp_MethodTrigger_test( app ):
} )


@WithRetry
@SharedYcmd
def SignatureHelp_ArgTrigger_test( app ):
RunTest( app, {
Expand Down Expand Up @@ -136,6 +139,7 @@ def SignatureHelp_ArgTrigger_test( app ):
} )


@WithRetry
@SharedYcmd
def SignatureHelp_Constructor_test( app ):
RunTest( app, {
Expand Down

0 comments on commit d63374c

Please sign in to comment.