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

[Question] [HW7] Failed Basic Tests in hazard.rs #964

Closed
JJong84 opened this issue Jun 15, 2024 · 3 comments
Closed

[Question] [HW7] Failed Basic Tests in hazard.rs #964

JJong84 opened this issue Jun 15, 2024 · 3 comments
Assignees
Labels
homework - hazard_pointer hazard_pointer/{mod,hazard,retire}.rs question Further information is requested

Comments

@JJong84
Copy link

JJong84 commented Jun 15, 2024

I submitted the codes for HW7. I failed all the basic test cases in hazard.rs, even I passed all the others.

However, when I tested the same test cases in my environment, they were all passed.

I don't know the reason. Can you help me fix this issue?

스크린샷 2024-06-16 오전 6 52 31

스크린샷 2024-06-16 오전 6 53 31

@JJong84 JJong84 added the question Further information is requested label Jun 15, 2024
@Lee-Janggun
Copy link
Member

Does your code still pass when the grade script is used?

@kingdoctor123 kingdoctor123 added the homework - hazard_pointer hazard_pointer/{mod,hazard,retire}.rs label Jun 16, 2024
@kingdoctor123
Copy link
Member

kingdoctor123 commented Jun 16, 2024

I just checked that our model solution runs correctly on the gg server without error. So I guess your code has a minor bug that happens only occasionally.

@JJong84
Copy link
Author

JJong84 commented Jun 16, 2024

Does your code still pass when the grade script is used?

Yes, the test cases from hazard.rs are all passed when I run grade-hazard-pointer.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
homework - hazard_pointer hazard_pointer/{mod,hazard,retire}.rs question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants