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

Test Case 8_4 customer vanishes #344

Open
slackernoob opened this issue Nov 29, 2022 · 6 comments
Open

Test Case 8_4 customer vanishes #344

slackernoob opened this issue Nov 29, 2022 · 6 comments

Comments

@slackernoob
Copy link

Summary

Last Customer from the Self Checkout queue mysteriously vanishes, would appreciate any help if anyone has any to give. Thanks!

Screenshots

image

@GarlicButterSteak
Copy link

If I had to guess, it might be that the indexing where you push a new serve event from a self-checkout is off by 1. If all else fails, you could perhaps trace your code since test case 8_4 is a public test case! Sorry if this wasn't of much help.

@namsengi11
Copy link

It seems like it is not waiting at all. Maybe theres an issue with customers waiting in the queue for self checkouts? Maybe you could provide us more detail on how the self checkout class is implemented.

@lanqinggg
Copy link

maybe there is some issue when you try to update the queue

@cherylchan02
Copy link

I think it could be a bug when a waiting customer needs to be served by the self-check that it isn't waiting at since everything before that seems to work. It might be a problem with the way you pass the wait into a serve event since it seems as if 15 just waits forever without being served.

@BrianNeo00
Copy link

I had a similar issue to this as well, you might want to check to see how you're assigning the servers within the self-checkout itself. It might be the case that it goes to wait, but someone else arrives to take the counter so the event isnt processed anymore. Depends on the implementation of the wait event and how servers / events are updated

@slackernoob
Copy link
Author

thanks all for the suggestions, apparently it was a problem with some conditional statements regarding the management of the queue and also me double counting the wait times from self checkout servers... solved!

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

6 participants