@@ -299,6 +299,9 @@ public function testGetCollection()
299
299
300
300
public function testInsert ()
301
301
{
302
+ if ($ this ->isMMFilesEngine ) {
303
+ $ this ->markTestSkipped ("test is only meaningful with the rocksdb engine " );
304
+ }
302
305
$ trx = new StreamingTransaction ($ this ->connection , [
303
306
TransactionBase::ENTRY_COLLECTIONS => [
304
307
TransactionBase::ENTRY_WRITE => [ $ this ->collection1 ->getName () ]
@@ -342,6 +345,9 @@ public function testInsert()
342
345
343
346
public function testRemove ()
344
347
{
348
+ if ($ this ->isMMFilesEngine ) {
349
+ $ this ->markTestSkipped ("test is only meaningful with the rocksdb engine " );
350
+ }
345
351
// insert a document before the transaction
346
352
$ documentHandler = new DocumentHandler ($ this ->connection );
347
353
$ result = $ documentHandler ->save ($ this ->collection1 ->getName (), [ '_key ' => 'test ' , 'value ' => 'test ' ]);
@@ -400,6 +406,9 @@ public function testRemove()
400
406
401
407
public function testUpdate ()
402
408
{
409
+ if ($ this ->isMMFilesEngine ) {
410
+ $ this ->markTestSkipped ("test is only meaningful with the rocksdb engine " );
411
+ }
403
412
// insert a document before the transaction
404
413
$ documentHandler = new DocumentHandler ($ this ->connection );
405
414
$ result = $ documentHandler ->save ($ this ->collection1 ->getName (), [ '_key ' => 'test ' , 'value ' => 'test ' ]);
@@ -450,6 +459,9 @@ public function testUpdate()
450
459
451
460
public function testReplace ()
452
461
{
462
+ if ($ this ->isMMFilesEngine ) {
463
+ $ this ->markTestSkipped ("test is only meaningful with the rocksdb engine " );
464
+ }
453
465
// insert a document before the transaction
454
466
$ documentHandler = new DocumentHandler ($ this ->connection );
455
467
$ result = $ documentHandler ->save ($ this ->collection1 ->getName (), [ '_key ' => 'test ' , 'value ' => 'test ' ]);
@@ -504,6 +516,9 @@ public function testReplace()
504
516
505
517
public function testTruncate ()
506
518
{
519
+ if ($ this ->isMMFilesEngine ) {
520
+ $ this ->markTestSkipped ("test is only meaningful with the rocksdb engine " );
521
+ }
507
522
$ stmt = new Statement ($ this ->connection , [
508
523
'query ' => 'FOR i IN 1..10 INSERT { _key: CONCAT("test", i), value: i } INTO @@collection ' ,
509
524
'bindVars ' => [ '@collection ' => $ this ->collection1 ->getName () ]
@@ -554,6 +569,9 @@ public function testTruncate()
554
569
555
570
public function testQuery ()
556
571
{
572
+ if ($ this ->isMMFilesEngine ) {
573
+ $ this ->markTestSkipped ("test is only meaningful with the rocksdb engine " );
574
+ }
557
575
$ trx = new StreamingTransaction ($ this ->connection , [
558
576
TransactionBase::ENTRY_COLLECTIONS => [
559
577
TransactionBase::ENTRY_WRITE => [ $ this ->collection1 ->getName () ]
0 commit comments