tvarchive / optimusTemplate

This is a cucumber jvm implementation template using the optimus mobile automation framework. If you like it, star it, help spread the word.
http://docs.testvagrant.com
66 stars 23 forks source link

Tests failing in fragmentation runs #1

Closed mayankgupta804 closed 7 years ago

mayankgupta804 commented 7 years ago

If the tests are, due to some reason, stopped during a fragmentation run, and then again when the tests are run from the beginning, an error is thrown saying that the tests failed.This could possibly due to failure in the proper shutdown of the Redis server.However, if we do a Gradle run, the error does not occur.In fact, after the Gradle run, if we do a proper test run, the error does not occur at all. Below, the image is attached which is related to the problem being faced. image

KrishnB commented 7 years ago

This issue will be resolved as part of Optimus 2.0 As a workaround you can run optimusSetup task before executing scenarios form IDE. Also please pass -DtestFeed=<yourtestfeedname> -DrunMode=Fragmentation to your scenario VM options. You can learn more about setting default vm options here

KrishnB commented 7 years ago

Resolved this issue in Optimus 2.0. Please refer here for migrating to Optimus 2.0