Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F631531
causal-consistency-001.phpt
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
581 B
Referenced Files
None
Subscribers
None
causal-consistency-001.phpt
View Options
--TEST--
Causal consistency: new session has no operation time
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php skip_if_not_libmongoc_crypto(); ?>
<?php skip_if_not_replica_set_or_sharded_cluster_with_replica_set(); ?>
<?php skip_if_server_version('<', '3.6'); ?>
--FILE--
<?php
require_once __DIR__ . "/../utils/basic.inc";
$manager = create_test_manager();
$session = $manager->startSession();
echo "Initial operation time:\n";
var_dump($session->getOperationTime());
?>
===DONE===
<?php exit(0); ?>
--EXPECT--
Initial operation time:
NULL
===DONE===
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 12:11 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
152311
Default Alt Text
causal-consistency-001.phpt (581 B)
Attached To
Mode
R114 php-mongodb
Attached
Detach File
Event Timeline