Skip to content

Commit e8e4f52

Browse files
fix tests
1 parent 5ef5899 commit e8e4f52

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Common/NamedCollections/NamedCollections.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class NamedCollection
8888
NamedCollection(
8989
ImplPtr pimpl_,
9090
const std::string & collection_name,
91-
const bool is_mutable_
91+
bool is_mutable_
9292
);
9393

9494
void assertMutable() const;
@@ -112,7 +112,7 @@ class NamedCollectionFromSQL final : public NamedCollection
112112
NamedCollection::SourceId getSourceId() const override { return SourceId::SQL; }
113113

114114
private:
115-
NamedCollectionFromSQL(const ASTCreateNamedCollectionQuery & query_);
115+
explicit NamedCollectionFromSQL(const ASTCreateNamedCollectionQuery & query_);
116116

117117
ASTCreateNamedCollectionQuery create_query_ptr;
118118
};

tests/integration/test_named_collections/test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,7 @@ def test_keeper_storage_remove_on_cluster(cluster, ignore, expected_raise):
794794
node.query(
795795
f"DROP NAMED COLLECTION test_nc ON CLUSTER `replicated_nc_nodes_cluster`"
796796
)
797+
node.query("DROP NAMED COLLECTION IF EXISTS test_nc")
797798

798799

799800
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)