Skip to content

Conversation

@FlorentinD
Copy link
Contributor

Thank you for your contribution to the Graph Data Science Client project.

Before submitting this PR, please read Contributing to the Neo4j Ecosystem.

Make sure:

  • You signed the Neo4j CLA (Contributor License Agreement) so that we are allowed to ship your code in our library
  • Your contribution is covered by tests

@netlify
Copy link

netlify bot commented Jul 10, 2024

Deploy Preview for neo4j-graph-data-science-client canceled.

Name Link
🔨 Latest commit a61f8ba
🔍 Latest deploy log https://app.netlify.com/sites/neo4j-graph-data-science-client/deploys/668f85727d566300089794a2

@FlorentinD FlorentinD merged commit 7f5f350 into neo4j:main Jul 11, 2024
@FlorentinD FlorentinD deleted the notebooksessiontest-on-new-instance branch July 11, 2024 08:11
Copy link
Contributor

@Mats-SX Mats-SX left a comment

Choose a reason for hiding this comment

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

I like the changes. I suggest we name the files a bit more explicitly to make it clearer how they are different.

instance_name = f"ci-build-{sys.argv[2]}" if len(sys.argv) > 1 else "ci-instance-" + str(rd.randint(0, MAX_INT))

create_result = create_instance(instance_name, access_token)
create_result = aura_api.create_ds_instance(instance_name)
Copy link
Contributor

Choose a reason for hiding this comment

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

So this file runs tests and notebooks using just an AuraDS instance?
I suggest renaming the file run_targeting_aurads

Copy link
Contributor

Choose a reason for hiding this comment

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

I realise this will need another TC change

username = (create_result["username"],)
password = (create_result["password"],)

cmd = f"AURA_DB_ADDRESS={uri} AURA_DB_USER={username} AURA_DB_PW={password} tox -e jupyter-notebook-session-ci"
Copy link
Contributor

Choose a reason for hiding this comment

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

Meanwhile, this test runs with an AuraDB instance and dedicated or AuraDS-based sessions.
I suggest renaming it run_sessions_targeting_auradb

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