{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6516","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6516/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6516/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6516/events","html_url":"https://github.com/cockroachdb/cockroach/pull/6516","id":153148902,"number":6516,"title":"Sample test showing broken PGWire test","user":{"login":"nvanbenschoten","id":5438456,"avatar_url":"https://avatars.githubusercontent.com/u/5438456?v=3","gravatar_id":"","url":"https://api.github.com/users/nvanbenschoten","html_url":"https://github.com/nvanbenschoten","followers_url":"https://api.github.com/users/nvanbenschoten/followers","following_url":"https://api.github.com/users/nvanbenschoten/following{/other_user}","gists_url":"https://api.github.com/users/nvanbenschoten/gists{/gist_id}","starred_url":"https://api.github.com/users/nvanbenschoten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvanbenschoten/subscriptions","organizations_url":"https://api.github.com/users/nvanbenschoten/orgs","repos_url":"https://api.github.com/users/nvanbenschoten/repos","events_url":"https://api.github.com/users/nvanbenschoten/events{/privacy}","received_events_url":"https://api.github.com/users/nvanbenschoten/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cockroachdb/cockroach/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-05T01:05:34Z","updated_at":"2016-05-05T15:57:17Z","closed_at":"2016-05-05T15:57:16Z","pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/6516","html_url":"https://github.com/cockroachdb/cockroach/pull/6516","diff_url":"https://github.com/cockroachdb/cockroach/pull/6516.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/6516.patch"},"body":"If you stress this test, it will occasionally fail with\r\n\r\n```\r\n--- FAIL: TestPGPreparedQuery (1.15s)\r\n\tpgwire_test.go:555: expected row: UPDATE d.two SET a = 6 WHERE a = -6 AND b = 11 RETURNING a, b: []\r\n```\r\n\r\nor \r\n\r\n```\r\n--- FAIL: TestPGPreparedQuery (1.12s)\r\n\tpgwire_test.go:555: expected row: UPDATE d.two SET a = 6 WHERE a = -6 AND b = 11 RETURNING a, b: []\r\n\tpgwire_test.go:596: UPDATE d.two SET a = 6 WHERE a = -6 AND b = 11 RETURNING a, b: unexpected row: [6,11]\r\n```\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/cockroachdb/cockroach/6516)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/217193821","html_url":"https://github.com/cockroachdb/cockroach/pull/6516#issuecomment-217193821","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/6516","id":217193821,"user":{"login":"nvanbenschoten","id":5438456,"avatar_url":"https://avatars.githubusercontent.com/u/5438456?v=3","gravatar_id":"","url":"https://api.github.com/users/nvanbenschoten","html_url":"https://github.com/nvanbenschoten","followers_url":"https://api.github.com/users/nvanbenschoten/followers","following_url":"https://api.github.com/users/nvanbenschoten/following{/other_user}","gists_url":"https://api.github.com/users/nvanbenschoten/gists{/gist_id}","starred_url":"https://api.github.com/users/nvanbenschoten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvanbenschoten/subscriptions","organizations_url":"https://api.github.com/users/nvanbenschoten/orgs","repos_url":"https://api.github.com/users/nvanbenschoten/repos","events_url":"https://api.github.com/users/nvanbenschoten/events{/privacy}","received_events_url":"https://api.github.com/users/nvanbenschoten/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T15:57:16Z","updated_at":"2016-05-05T15:57:16Z","body":"Closing. The issue is that the `queryTests` are in a map, so their order of evaluation is nondeterministic. Thanks for pointing this out @mjibson!"}}