Skip to content

Commit

Permalink
Resolve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Verhoog committed Jul 7, 2022
1 parent a5b0f95 commit d05be2c
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions tests/contrib/mariadb/test_mariadb.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<<<<<<< HEAD
import os
=======
from typing import Tuple
>>>>>>> 22746a31 (chore(mariadb): update tests to support mariadb>=1.1.0 (#3883))

import mariadb
import pytest
Expand Down Expand Up @@ -133,30 +130,9 @@ def test_analytics_default(connection, tracer):
assert span.get_metric(ANALYTICS_SAMPLE_RATE_KEY) is None


<<<<<<< HEAD
test_user_specified_code = """
from ddtrace import config
from ddtrace import patch
from ddtrace import tracer
import mariadb
patch(mariadb=True)
from tests.contrib.config import MARIADB_CONFIG
connection = mariadb.connect(**MARIADB_CONFIG)
cursor = connection.cursor()
cursor.execute("SELECT 1")
rows = cursor.fetchall()
assert len(rows) == 1
tracer.shutdown()
"""


@snapshot(async_mode=False)
def test_user_specified_dd_service_snapshot(run_python_code_in_subprocess):
=======
@pytest.mark.subprocess(env=dict(DD_SERVICE="mysvc"))
@snapshot(async_mode=False, variants=SNAPSHOT_VARIANTS)
def test_user_specified_dd_service_snapshot():
>>>>>>> 22746a31 (chore(mariadb): update tests to support mariadb>=1.1.0 (#3883))
"""
When a user specifies a service for the app
The mariadb integration should not use it.
Expand All @@ -170,14 +146,9 @@ def test_user_specified_dd_service_snapshot():
assert status == 0, err


<<<<<<< HEAD
@snapshot(async_mode=False)
def test_user_specified_dd_mariadb_service_snapshot(run_python_code_in_subprocess):
=======
@pytest.mark.subprocess(env=dict(DD_MARIADB_SERVICE="mysvc"))
@snapshot(async_mode=False, variants=SNAPSHOT_VARIANTS)
def test_user_specified_dd_mariadb_service_snapshot():
>>>>>>> 22746a31 (chore(mariadb): update tests to support mariadb>=1.1.0 (#3883))
"""
When a user specifies a service for the app
The mariadb integration should not use it.
Expand Down

0 comments on commit d05be2c

Please sign in to comment.