File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed
dev/tests/integration/testsuite/Magento/MessageQueue/Model/Cron Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -109,29 +109,13 @@ protected function setUp()
109
109
});
110
110
}
111
111
112
- /**
113
- * Checks that pid files are created
114
- *
115
- * @return void
116
- */
117
- public function testCheckThatPidFilesWasCreated ()
118
- {
119
- $ this ->markTestSkipped ('MC-5904: Test Fails randomly, ' );
120
- $ this ->consumersRunner ->run ();
121
- foreach ($ this ->consumerConfig ->getConsumers () as $ consumer ) {
122
- $ this ->waitConsumerPidFile ($ consumer ->getName ());
123
- }
124
- }
125
-
126
112
/**
127
113
* Tests running of specific consumer and his re-running when it is working
128
114
*
129
115
* @return void
130
116
*/
131
117
public function testSpecificConsumerAndRerun ()
132
118
{
133
- $ this ->markTestSkipped ('MC-5904: Test Fails randomly, ' );
134
-
135
119
$ specificConsumer = 'quoteItemCleaner ' ;
136
120
$ pidFilePath = $ this ->getPidFileName ($ specificConsumer );
137
121
$ config = $ this ->config ;
@@ -188,23 +172,6 @@ public function testCronJobDisabled()
188
172
}
189
173
}
190
174
191
- /**
192
- * @param string $consumerName
193
- * @return void
194
- */
195
- private function waitConsumerPidFile ($ consumerName )
196
- {
197
- $ pidFileFullPath = $ this ->getPidFileFullPath ($ consumerName );
198
- $ i = 0 ;
199
- do {
200
- sleep (1 );
201
- } while (!file_exists ($ pidFileFullPath ) && ($ i ++ < 60 ));
202
-
203
- if (!file_exists ($ pidFileFullPath )) {
204
- $ this ->fail ($ consumerName . ' pid file does not exist. ' );
205
- }
206
- }
207
-
208
175
/**
209
176
* @return array
210
177
*/
You can’t perform that action at this time.
0 commit comments