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

added dbms upgrade resolver and tests #329

Merged
merged 1 commit into from Sep 17, 2021

Conversation

jk05
Copy link

@jk05 jk05 commented Sep 3, 2021

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

Added resolver and test for dbms.upgrade

What is the current behavior?

No resolver for dbms.upgrade

What is the new behavior?

Can now upgrade dbmss via the web package

Does this PR introduce a breaking change?

no

Other information:

Have had to mould the test dbms install slightly to get it to work as I am not sure what is causing an issue for me at the moment. Will look at the end if I have time.

Comment on lines +46 to +51
const {name, id} = await dbmss.environment.dbmss.install(
dbmss.createName(),
TestDbmss.NEO4J_VERSION,
TestDbmss.NEO4J_EDITION,
TestDbmss.DBMS_CREDENTIALS,
);
Copy link
Author

Choose a reason for hiding this comment

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

had to do it this way as I am not sure why using createDbms was causing issues for me. Will investigate at the end if I have time.

Copy link
Author

Choose a reason for hiding this comment

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

this is how dbmss were installed in upgrade.test in the common package too

@jk05 jk05 force-pushed the web-api-update_dbms-upgrade branch from d70bb15 to cfe1c86 Compare September 3, 2021 10:29
@jk05 jk05 requested a review from nglgzz September 3, 2021 12:27
@jk05 jk05 force-pushed the web-api-update_dbms-upgrade branch 2 times, most recently from ca3c8fb to 13bf68d Compare September 7, 2021 09:56
@jk05 jk05 force-pushed the web-api-update_dbms-upgrade branch 3 times, most recently from e4845b4 to 8bc6f4b Compare September 17, 2021 08:34
nglgzz
nglgzz previously approved these changes Sep 17, 2021
@jk05 jk05 merged commit 6529950 into neo4j-devtools:master Sep 17, 2021
@jk05 jk05 deleted the web-api-update_dbms-upgrade branch September 17, 2021 10:43
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.

None yet

2 participants