May make the tests less flaky
This commit is contained in:
parent
4d484868f3
commit
7813f06dd1
5 changed files with 10 additions and 2 deletions
|
|
@ -24,6 +24,9 @@ function! vimspector#test#setup#Reset() abort
|
|||
call WaitForAssert( {->
|
||||
\ assert_true( pyxeval( '_vimspector_session._connection is None' ) )
|
||||
\ } )
|
||||
call WaitForAssert( {->
|
||||
\ assert_true( pyxeval( '_vimspector_session._uiTab is None' ) )
|
||||
\ } )
|
||||
|
||||
call vimspector#test#signs#AssertSignGroupEmpty( 'VimspectorCode' )
|
||||
call vimspector#ClearBreakpoints()
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@ func AfterTheTest()
|
|||
let logfile = s:testid_filesafe . '.vimspector.log'
|
||||
call writefile( log, logfile, 's' )
|
||||
call add( s:messages, 'Wrote log for failed test: ' . logfile )
|
||||
call extend( s:messages, log )
|
||||
endif
|
||||
endfunc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue