@@ -35,6 +35,7 @@ class TransactionsSpecTest extends FunctionalTestCase
...
@@ -35,6 +35,7 @@ class TransactionsSpecTest extends FunctionalTestCase
* @var array
* @var array
*/
*/
privatestatic$incompleteTests=[
privatestatic$incompleteTests=[
'transactions/pin-mongos: remain pinned after non-transient error on commit'=>'Blocked on SPEC-1320',
'transactions/read-pref: default readPreference'=>'PHPLIB does not properly inherit readPreference for transactions (PHPLIB-473)',
'transactions/read-pref: default readPreference'=>'PHPLIB does not properly inherit readPreference for transactions (PHPLIB-473)',
'transactions/read-pref: primary readPreference'=>'PHPLIB does not properly inherit readPreference for transactions (PHPLIB-473)',
'transactions/read-pref: primary readPreference'=>'PHPLIB does not properly inherit readPreference for transactions (PHPLIB-473)',
'transactions/run-command: run command with secondary read preference in client option and primary read preference in transaction options'=>'PHPLIB does not properly inherit readPreference for transactions (PHPLIB-473)',
'transactions/run-command: run command with secondary read preference in client option and primary read preference in transaction options'=>'PHPLIB does not properly inherit readPreference for transactions (PHPLIB-473)',
...
@@ -48,6 +49,8 @@ class TransactionsSpecTest extends FunctionalTestCase
...
@@ -48,6 +49,8 @@ class TransactionsSpecTest extends FunctionalTestCase
parent::setUp();
parent::setUp();
static::killAllSessions();
static::killAllSessions();
$this->skipIfTransactionsAreNotSupported();
}
}
privatefunctiondoTearDown()
privatefunctiondoTearDown()
...
@@ -128,8 +131,8 @@ class TransactionsSpecTest extends FunctionalTestCase
...
@@ -128,8 +131,8 @@ class TransactionsSpecTest extends FunctionalTestCase