Skip to content

Commit

Permalink
feat ci: disable YDB tests for now
Browse files Browse the repository at this point in the history
Tests: протестировано CI
924e855b400fd8ade5b3245a24453d74a7195687
  • Loading branch information
apolukhin committed May 15, 2024
1 parent bdd4317 commit 53e89bc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/ydb_service/tests/test_bson_reading.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import pytest


@pytest.mark.skip(reason='restore in TAXICOMMON-8860')
@pytest.mark.ydb(files=['fill_orders.sql'])
async def test_bson_reading(service_client):
response = await service_client.post(
Expand Down
2 changes: 2 additions & 0 deletions samples/ydb_service/tests/test_bson_upserting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import bson
import pytest


DATA = {'value': b'\x00\x01\x02\x03'}
Expand All @@ -10,6 +11,7 @@
"""


@pytest.mark.skip(reason='restore in TAXICOMMON-8860')
async def test_ok(service_client, ydb):
# validate YDB state
cursor = ydb.execute(SQL_REQUEST)
Expand Down
1 change: 1 addition & 0 deletions samples/ydb_service/tests/test_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ async def test_select_rows(service_client):
}


@pytest.mark.skip(reason='restore in TAXICOMMON-8860')
async def test_select_rows_empty(service_client):
response = await service_client.post(
'ydb/select-rows',
Expand Down
3 changes: 3 additions & 0 deletions samples/ydb_service/tests/test_topic.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import base64

import pytest


@pytest.mark.skip(reason='restore in TAXICOMMON-8860')
async def test_topic(service_client, ydb, testpoint):
@testpoint('topic-handle-message')
async def handle_message_testpoint(data):
Expand Down
3 changes: 3 additions & 0 deletions samples/ydb_service/tests/test_upsert.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import json

import pytest


async def test_upsert_row(service_client, ydb):
response = await service_client.post(
Expand Down Expand Up @@ -29,6 +31,7 @@ async def test_upsert_row(service_client, ydb):
}


@pytest.mark.skip(reason='restore in TAXICOMMON-8860')
async def test_transaction(service_client, ydb):
response = await service_client.post(
'ydb/upsert-2rows',
Expand Down

0 comments on commit 53e89bc

Please sign in to comment.