Skip to content
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

chore(mariadb): update tests to support mariadb>=1.1.0 (backport #3883) #3901

Merged
merged 5 commits into from
Jul 7, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 1, 2022

This is an automatic backport of pull request #3883 done by Mergify.
Cherry-pick of 22746a3 has failed:

On branch mergify/bp/0.x/pr-3883
Your branch is up to date with 'origin/0.x'.

You are currently cherry-picking commit 22746a31.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_with_rate_snapshot_pre_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_analytics_without_rate_snapshot_pre_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_post_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_commit_snapshot_pre_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_many_fetchall_snapshot_pre_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_proc_snapshot_pre_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_fetchall_snapshot_pre_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_query_with_several_rows_snapshot_pre_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_malformed_query_snapshot_pre_1_1.json
	new file:   tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_fetchall_snapshot_pre_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_service_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_post_1_1.json
	renamed:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot.json -> tests/snapshots/tests.contrib.mariadb.test_mariadb.test_simple_query_snapshot_pre_1_1.json
	deleted:    tests/snapshots/tests.contrib.mariadb.test_mariadb.test_user_specified_dd_mariadb_service_snapshot.json

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   tests/contrib/mariadb/test_mariadb.py

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

The latest version of mariadb client library requires a newer version of the C library in order to build.

This PR updates snapshot tests to account for newly supported db.rowcount for mariadb query spans.

This PR depends on #3884 to be merged and update our dev image first before this can pass.

This is a testing only fix, our integration continues to work fine for mariadb>=1.1.0, but our test suite was not setup for it.

Co-authored-by: Kyle Verhoog <[email protected]>
Co-authored-by: Munir Abdinur <[email protected]>
(cherry picked from commit 22746a3)

# Conflicts:
#	tests/contrib/mariadb/test_mariadb.py
@mergify mergify bot requested a review from a team as a code owner July 1, 2022 21:31
@mergify mergify bot added the conflicts label Jul 1, 2022
P403n1x87
P403n1x87 previously approved these changes Jul 4, 2022
@Kyle-Verhoog Kyle-Verhoog force-pushed the mergify/bp/0.x/pr-3883 branch from f33dd00 to 16ab6f3 Compare July 7, 2022 18:21
@brettlangdon brettlangdon added changelog/no-changelog A changelog entry is not required for this PR. and removed conflicts labels Jul 7, 2022
@mergify
Copy link
Contributor Author

mergify bot commented Jul 7, 2022

@mergify[bot] this pull request is now in conflict 😩

@mergify mergify bot added the conflict label Jul 7, 2022
@mergify mergify bot removed the conflict label Jul 7, 2022
@Kyle-Verhoog Kyle-Verhoog merged commit 3db913e into 0.x Jul 7, 2022
@Kyle-Verhoog Kyle-Verhoog deleted the mergify/bp/0.x/pr-3883 branch July 7, 2022 22:06
@mabdinur
Copy link
Contributor

@Mergifyio backport 0.61

mergify bot added a commit that referenced this pull request Oct 27, 2022
… (#3901)

* chore(mariadb): update tests to support mariadb>=1.1.0 (#3883)

The latest version of mariadb client library requires a newer version of the C library in order to build.

This PR updates snapshot tests to account for newly supported db.rowcount for mariadb query spans.

This PR depends on #3884 to be merged and update our dev image first before this can pass.

This is a testing only fix, our integration continues to work fine for mariadb>=1.1.0, but our test suite was not setup for it.

Co-authored-by: Kyle Verhoog <[email protected]>
Co-authored-by: Munir Abdinur <[email protected]>
(cherry picked from commit 22746a3)
(cherry picked from commit 3db913e)

# Conflicts:
#	tests/contrib/mariadb/test_mariadb.py
@mergify
Copy link
Contributor Author

mergify bot commented Oct 27, 2022

backport 0.61

✅ Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog A changelog entry is not required for this PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants