-
Notifications
You must be signed in to change notification settings - Fork 374
Fixed test again #741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed test again #741
Conversation
@@ -21,7 +21,7 @@ if ($c !== false) { | |||
?> | |||
--EXPECTREGEX-- | |||
|
|||
Fatal error: Uncaught PDOException: SQLSTATE\[(28000|08001|HYT00)\]: .*\[Microsoft\]\[ODBC Driver 1[0-9] for SQL Server\](\[SQL Server\])?(Named Pipes Provider: Could not open a connection to SQL Server \[2\]\. |TCP Provider: Error code 0x2AF9|Login timeout expired|Login failed for user 'sa'\.) in .+(\/|\\)pdo_utf8_conn\.php:[0-9]+ | |||
Fatal error: Uncaught PDOException: SQLSTATE\[(28000|08001|HYT00)\]: .*\[Microsoft\]\[ODBC Driver 1[0-9] for SQL Server\](\[SQL Server\])?(Named Pipes Provider: Could not open a connection to SQL Server \[2\]\. |TCP Provider: Error code 0x2726|TCP Provider: Error code 0x2AF9|Login timeout expired|Login failed for user 'sa'\.) in .+(\/|\\)pdo_utf8_conn\.php:[0-9]+ | |||
Stack trace: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you change the regex to TCP Provider: Error code
to accept either one of the two possible codes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's TCP Provider: Error code (0x2726|0x2AF9)
right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be, please run a quick test in your local env just in case :)
Codecov Report
@@ Coverage Diff @@
## dev #741 +/- ##
=======================================
Coverage 78.99% 78.99%
=======================================
Files 25 25
Lines 7190 7190
=======================================
Hits 5680 5680
Misses 1510 1510 Continue to review full report at Codecov.
|
Merging because I want to run the fix tonight. |
Apparently the error code on Bamboo is different from the one tested on my mac.
This change is