Skip to content

Problems in ProbackupTest and TestBasic(ProbackupTest) #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dmitry-lipetsk opened this issue May 8, 2025 · 0 comments · Fixed by #259
Closed

Problems in ProbackupTest and TestBasic(ProbackupTest) #258

dmitry-lipetsk opened this issue May 8, 2025 · 0 comments · Fixed by #259
Assignees

Comments

@dmitry-lipetsk
Copy link
Collaborator

Problem 1

Must be testgres.NodeApp. See:

self.pg_node = testgres.NodeApp(self.test_path, self.nodes_to_cleanup)

Problem 2

TestBasic(ProbackupTest)::test_full_backup must stop and clean test node.

dmitry-lipetsk added a commit to dmitry-lipetsk/testgres that referenced this issue May 11, 2025
ProbackupTest::pg_node is testgres.NodeApp, not testgres.PostgresNode.

Asserts are added.
dmitry-lipetsk added a commit to dmitry-lipetsk/testgres that referenced this issue May 11, 2025
Node cleanup is added.

TODO: we should to stop node only and cleanup his data in conftest.

---
Asserts are added.
@dmitry-lipetsk dmitry-lipetsk self-assigned this May 11, 2025
dmitry-lipetsk added a commit that referenced this issue May 12, 2025
…ed (#259)

* [#258] Declaration of ProbackupTest::pg_node is corrected

ProbackupTest::pg_node is testgres.NodeApp, not testgres.PostgresNode.

Asserts are added.

* [#258] TestBasic::test_full_backup cleans node object

Node cleanup is added.

TODO: we should to stop node only and cleanup his data in conftest.
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 a pull request may close this issue.

1 participant