spring-shell icon indicating copy to clipboard operation
spring-shell copied to clipboard

NonInteractiveShellSession trouble with screen clear

Open jvalkeal opened this issue 2 years ago • 0 comments
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?

jvalkeal avatar Oct 20 '23 17:10 jvalkeal