Skip to content

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

Merged
merged 2 commits into from
Apr 6, 2018
Merged

Fixed test again #741

merged 2 commits into from
Apr 6, 2018

Conversation

david-puglielli
Copy link
Contributor

@david-puglielli david-puglielli commented Apr 5, 2018

Apparently the error code on Bamboo is different from the one tested on my mac.


This change is Reviewable

@david-puglielli david-puglielli requested a review from yitam April 5, 2018 18:54
@@ -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:
Copy link
Contributor

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?

Copy link
Contributor Author

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?

Copy link
Contributor

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 :)

@coveralls
Copy link

coveralls commented Apr 5, 2018

Coverage Status

Coverage remained the same at 73.301% when pulling f15a3f8 on david-puglielli:pdo_utf8_conn-test-fix into 72a1027 on Microsoft:dev.

@codecov-io
Copy link

codecov-io commented Apr 5, 2018

Codecov Report

Merging #741 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72a1027...f15a3f8. Read the comment docs.

@david-puglielli
Copy link
Contributor Author

Merging because I want to run the fix tonight.

@david-puglielli david-puglielli merged commit fafb7f4 into microsoft:dev Apr 6, 2018
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.

4 participants