Skip to content

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Oct 11, 2019

https://jira.mongodb.org/browse/PHPC-1391

The exeption itself is caused by libmongoc not allowing transactions. This commit only adds tests to protect against regressions.

@alcaeus alcaeus requested a review from jmikola October 11, 2019 14:30
@alcaeus alcaeus self-assigned this Oct 11, 2019
Copy link
Member

@jmikola jmikola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with EXPECT change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're not using actual EXPECTF patterns and merely doing an exact string match, you can use EXPECT here. Likewise in the second test below.

The exeption itself is caused by libmongoc not allowing transactions. This commit only adds tests to protect against regressions
alcaeus added a commit that referenced this pull request Oct 17, 2019
@alcaeus alcaeus merged commit e0cc7e6 into mongodb:master Oct 17, 2019
@alcaeus alcaeus deleted the phpc-1391 branch October 17, 2019 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants