spring-shell
spring-shell copied to clipboard
NonInteractiveShellSession trouble with screen clear
trafficstars
Time to time ShellTestIntegrationTests fail on testNonInteractive.
Trouble looks to be screen clear at https://github.com/spring-projects/spring-shell/blob/e2a7f340f31964ae1d9ed7058ac3b3fc3ec2a612/spring-shell-test-autoconfigure/src/test/java/org/springframework/shell/test/autoconfigure/ShellTestIntegrationTests.java#L109
With a quick testing if you wait for screen to get cleared then test start to be reliable. Should we wait or fix something in a test emulation?