Skip to content
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

Test suite #8

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Test suite #8

wants to merge 11 commits into from

Conversation

MichaelKorchagin
Copy link
Collaborator

@MichaelKorchagin MichaelKorchagin commented Sep 28, 2024

No description provided.

@Whytecrowe Whytecrowe changed the title Test suits Test suite Oct 9, 2024

// this.timeout() doesn't work for arrow functions.
describe("Base deploy mission", function () {
this.timeout(5000);
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is this here?

Copy link
Collaborator Author

@MichaelKorchagin MichaelKorchagin Oct 10, 2024

Choose a reason for hiding this comment

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

From time to time, flow falls by timeout of 2000ms. When I increased this, it helps. I know, its not for our soft, It's only for my machine. But I just wanted to keep it while the PR has WIP status. Or should I remove it before each push?

await mongoAdapter.initialize(dbVersion);
});

it("Should return existing temp version when calls configureVersioning()", async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

not sure what this is testing

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It shows that DB Versioner can find correct final version if it exists
Tell me if I'm wrong

test/mocks/mongo.ts Outdated Show resolved Hide resolved
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.

2 participants