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

Sharding test runs with ordered execution supported #2337

Open
ahervieuxgirard opened this issue Feb 27, 2025 · 1 comment
Open

Sharding test runs with ordered execution supported #2337

ahervieuxgirard opened this issue Feb 27, 2025 · 1 comment

Comments

@ahervieuxgirard
Copy link

Use case

Since the sharding options are --shard-split or --shard-all, being able to combine execution order and running folders with multiple devices would be a great improvement

Proposal

Should be able to run folders while sharding execution using config.yaml file on any types of devices.

Anything else?

More context when trying to achieve this right now we have this message :

Cannot run sharded tests with sequential execution

The stack trace was:
java.lang.IllegalStateException: Cannot run sharded tests with sequential execution
	at maestro.cli.command.TestCommand$handleSessions$1.invokeSuspend(TestCommand.kt:229)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
Copy link

linear bot commented Feb 27, 2025

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

No branches or pull requests

1 participant