Fix style

This commit is contained in:
alesapin 2022-07-15 00:38:58 +02:00
parent c7da3d61bf
commit 687961cf42
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,6 @@ namespace DB
namespace ErrorCodes
{
extern const int NOT_IMPLEMENTED;
extern const int FS_METADATA_ERROR;
}
FakeMetadataStorageFromDisk::FakeMetadataStorageFromDisk(

View File

@ -1,5 +1,4 @@
#include <Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.h>
#include <Disks/ObjectStorages/MetadataStorageFromDiskTransactionOperations.h>
#include <Disks/ObjectStorages/MetadataStorageFromDisk.h>
#include <Disks/IDisk.h>
#include <Common/getRandomASCIIString.h>

View File

@ -14,6 +14,7 @@ node = cluster.add_instance(
with_minio=True,
)
@pytest.fixture(scope="module")
def start_cluster():
try:
@ -22,10 +23,11 @@ def start_cluster():
finally:
cluster.shutdown()
def test_concurrent_backups(start_cluster):
node.query("DROP TABLE IF EXISTS s3_test NO DELAY")
columns = [f"column_{i} UInt64" for i in range(1000)]
columns_str = ', '.join(columns)
columns_str = ", ".join(columns)
node.query(
f"CREATE TABLE s3_test ({columns_str}) Engine=MergeTree() ORDER BY tuple() SETTINGS storage_policy='s3';"
)