-
Notifications
You must be signed in to change notification settings - Fork 408
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
TestRecover fail #2172
Comments
@vie-serendipity Please take a look |
@fungaren This is indeed a bug. Are you willing to fix it? |
@vie-serendipity Sorry I am afraid I can't, because I have not read the related code carefully. |
@fungaren ok, thanks for spotting this bug. I'll fix that later on. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Which jobs are failing:
Which test(s) are failing:
pkg/yurthub/cachemanager/error_keys_test.go
Since when has it been failing:
Testgrid link:
Reason for failure:
These two tests share the same variable
AOFPrefix
.The result of
Unmarshal()
is not checked.https://github.com/openyurtio/openyurt/blob/v1.5.0/pkg/yurthub/cachemanager/error_keys.go#L235
Actually the data in the
/tmp/errorkeys/aof
is:Because of the wrong open mode
os.O_CREATE|os.O_RDWR
, it should hasO_TRUNC
to make the file clean.Anything else we need to know:
labels
/kind failing-test
The text was updated successfully, but these errors were encountered: