Skip to content

Plenary test frequently fails for no reason #1225

@cseickel

Description

@cseickel

Just re-running it will often make it pass:

========================================	
Scheduling: tests/neo-tree/command/command_spec.lua

========================================	
Testing: 	/home/runner/work/neo-tree.nvim/neo-tree.nvim/tests/neo-tree/sources/filesystem/filesystem_netrw_hijack_spec.lua	
Success	||	Filesystem netrw hijack does not interfere with netrw when disabled	
Success	||	Filesystem netrw hijack opens in sidebar when behavior is open_default	
Fail	||	Filesystem netrw hijack opens in in splits when behavior is open_current	
            ./tests/utils/verify.lua:9: neotree is not in the second window
            
            stack traceback:
            	./tests/utils/verify.lua:9: in function 'eventually'
            	...tree/sources/filesystem/filesystem_netrw_hijack_spec.lua:[85](https://github.com/nvim-neo-tree/neo-tree.nvim/actions/runs/6833611353/job/18585549389?pr=1221#step:6:86): in function <...tree/sources/filesystem/filesystem_netrw_hijack_spec.lua:64>
            	
	
Success: 	2	
Failed : 	1	
Errors : 	0	
========================================	
Tests Failed. Exit: 1	
Scheduling: tests/neo-tree/command/command_current_spec.lua
Already only one windowAlready only one window

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbuildUsed for CI, linting, testing, and other dev tools.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions