Skip to content

Conversation

@demonolock
Copy link
Contributor

No description provided.

assert isinstance(node_svc, PostgresNodeService)
query_create = 'create table test_options as select generate_series(1, 5) as val'

with __class__.helper__get_node(node_svc).init().start() as node1:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если я все правильно понимаю, то в случае исключения из init или start у нас не произойдет "захват" создаваемого объекта в with и он не будет "зачищен".

Такая же ситуация чуть ниже.

Мне кажется, что это у нас тут какая-та системная проблема в тестах.

Не критично (есть как плюсы так и минусы), но нужно принять во внимание.

Copy link
Collaborator

@dmitry-lipetsk dmitry-lipetsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Норм )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants