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

Per-playlist item max attempts #7168

Merged
merged 9 commits into from
Feb 4, 2021
Merged

Conversation

nanaya
Copy link
Collaborator

@nanaya nanaya commented Feb 4, 2021

$room->startPlay($user, $playlistItem1);
}

public function testMaxAttemptsForItemReached()
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks like it's just testing the same thing twice, the previous test checks that the room limit is hit, this one should probably be checking the playlist limit is hit but not the room limit, so maybe it should be testing is other plays can still be started?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it's already testing whether other item can still be started, just no assertion (now added).

@notbakaneko notbakaneko merged commit 03ca428 into ppy:master Feb 4, 2021
@nanaya nanaya deleted the multiplayer-attempts branch April 1, 2021 06:31
peppy added a commit to peppy/osu that referenced this pull request Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A maximum_attempts field should be added per playlist item
2 participants