File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
src/test/java/jcs/commandStation/esu/ecos Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -62,21 +62,9 @@ public void setUp() {
62
62
this .commandStationBean = getEcosAsDefaultCommandStationBean ();
63
63
64
64
if (this .commandStationBean == null ) {
65
- for (int i = 0 ; i < 5 ; i ++) {
66
- try {
67
- Thread .sleep (100 );
68
- } catch (InterruptedException ex ) {
69
- }
70
- Logger .info ("Attempt " + i );
71
- this .commandStationBean = getEcosAsDefaultCommandStationBean ();
72
- if (this .commandStationBean != null ) {
73
- break ;
74
- }
75
- }
76
- }
77
-
78
- if (this .commandStationBean == null ) {
65
+ //The workflow on GitHup does gives back a Null as command station for reasons yet unknown for me...
79
66
Logger .error ("Can't obtain a Command Station! Skipping tests..." );
67
+ this .skip = true ;
80
68
}
81
69
}
82
70
You can’t perform that action at this time.
0 commit comments