-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fix: Test launch a VM without building it locally #588
Fix: Test launch a VM without building it locally #588
Conversation
Deleting the line with mksquashfs which was building the runtimes locally.
Adding a test which create a VM without building it locally
Removing useless import logging inside the test of the online VM build
Failed to retrieve llama text: POST 504: 504 Gateway Time-outThe server didn't respond in time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Apart from my suggestion, what do you think about moving the test function in the same file test_execution.py
, as the other test ?
async def test_create_execution(): | ||
""" | ||
Create a new VM execution and check that it starts properly. | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
async def test_create_execution(): | |
""" | |
Create a new VM execution and check that it starts properly. | |
""" | |
async def test_create_execution_from_network(): | |
""" | |
Create a new VM execution from the diagnostic VM and check that it starts properly. | |
This will download the resources from the aleph.im network if they are not present locally. | |
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I like this suggestion, i'll make the changes!
Some tests have the same scope, the only difference is that one test build locally the other download from the network. Solution: Group these tests in the same file.
This tests that a VM from the aleph.im network can be downloaded and launched. Co-authored-by: ajin <ajin@Aleph.ajin.virtualbox.org>
This tests that a VM from the aleph.im network can be downloaded and launched. Co-authored-by: ajin <ajin@Aleph.ajin.virtualbox.org>
This tests that a VM from the aleph.im network can be downloaded and launched. Co-authored-by: ajin <ajin@Aleph.ajin.virtualbox.org>
This tests that a VM from the aleph.im network can be downloaded and launched. Co-authored-by: ajin <ajin@Aleph.ajin.virtualbox.org>
Deleting the line with mksquashfs