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

Resolve dependence on single thread execution. #63

Open
heemankv opened this issue Jul 30, 2024 · 0 comments
Open

Resolve dependence on single thread execution. #63

heemankv opened this issue Jul 30, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@heemankv
Copy link
Contributor

heemankv commented Jul 30, 2024

Context

There are many test functions that currently require running only 1 test thread and fail on multiple test threads.
E.g :

  • test_da_job_process_job_failure_on_impossible_blob_length
  • test_da_job_process_job_failure_on_pending_block
  • test_da_job_process_job_success

Possible reason for only running on 1 thread :

All these tests use external services like mongodb, localstack which do not support multi thread execution on local.

Consequence :

We have to run all the tests on a single thread, when running all the tests together be it in CI or local.

Goal :

  1. We want to either find a way to run these tests in parallel to remove dependence of running on 1 thread.
    OR
  2. We want to implement a solution to specify tests that need single thread execution and allow others to utilise parallelism.

Possible Solution for Goal 2 :

Specifying Serial Tests on each tests that requires single thread execution.

@heemankv heemankv added the good first issue Good for newcomers label Jul 30, 2024
@heemankv heemankv changed the title Use Serial Tests Resolve dependence on single thread execution. Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant