Recommended solutions based on your search
If you're using boot 1.4.x you need to modify the @springBootTest annotation to @SpringBootTest(classes = DataFlowServerConfiguration.class). 1.3.8 doesn't have this problem as well.
Spring Boot 1.4 changed their annotation system a little. Try using the @SpringBootApplication annotation for better results.
Solutions on the web
java.lang.IllegalStateException: Not all instances were looked at