Skip to content

fix: dont prematurely end deadline command in ParallelDeadlineGroup#32

Merged
ArushYadlapati merged 1 commit into
FTC-23511:masterfrom
stolenricecakes:hotfix-31
Jan 26, 2026
Merged

fix: dont prematurely end deadline command in ParallelDeadlineGroup#32
ArushYadlapati merged 1 commit into
FTC-23511:masterfrom
stolenricecakes:hotfix-31

Conversation

@stolenricecakes

Copy link
Copy Markdown

Pull Requests

One approach to fixing bug with ParallelDeadlineGroup when using SequentialCommandGroup as the deadline command. This fix ensures that when commands finish during execute() that end() will not be called on the deadline command. Instead end() will be called on the deadline command when the ParallelDeadlineGroup's end method is called.

Don't know if its OK to introduce mockito as a test dependency - if not, I'll be happy to drop it, just let me know.

What kind of change does this PR introduce?

Did this PR introduce a breaking change?

A breaking change includes anything that breaks backwards compatibility either at compile or run time.

  • no

Please make sure your PR satisfies the requirements of the contributing page

@ArushYadlapati

Copy link
Copy Markdown
Collaborator

I don't mind adding Mock.

@ArushYadlapati
ArushYadlapati merged commit ea7bc95 into FTC-23511:master Jan 26, 2026
1 check passed
@ArushYadlapati

Copy link
Copy Markdown
Collaborator

LGTM

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