-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
Mention overflows when mistakenly call function FromInt #36487
Mention overflows when mistakenly call function FromInt #36487
Conversation
Can a kubernetes member verify that this patch is reasonable to test? If so, please reply with "@k8s-bot ok to test" on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands will still work. Regular contributors should join the org to skip this step. If you have questions or suggestions related to this bot's behavior, please file an issue against the kubernetes/test-infra repository. |
@k8s-bot ok to test |
70a6ede
to
6f62346
Compare
@k8s-bot unit test this |
hi @dims ,i rebased just now for passing the unit test and it seems that it wouldn't trigger the checks schedule again. Would you please to start the checks again? |
@xialonglee it says "Build started." So let's wait a bit. |
I don't see the harm in this, but I'd ask for two things:
Thanks! |
bad8ddb
to
95cbd35
Compare
Jenkins GCE Node e2e failed for commit 95cbd352e1f88fcb7bc5a27752079b412ea33d66. Full PR test history. The magic incantation to run this job again is |
Jenkins GCI GKE smoke e2e failed for commit 95cbd352e1f88fcb7bc5a27752079b412ea33d66. Full PR test history. The magic incantation to run this job again is |
Jenkins Kubemark GCE e2e failed for commit 95cbd352e1f88fcb7bc5a27752079b412ea33d66. Full PR test history. The magic incantation to run this job again is |
Jenkins GKE smoke e2e failed for commit 95cbd352e1f88fcb7bc5a27752079b412ea33d66. Full PR test history. The magic incantation to run this job again is |
Jenkins GCE e2e failed for commit 95cbd352e1f88fcb7bc5a27752079b412ea33d66. Full PR test history. The magic incantation to run this job again is |
Jenkins unit/integration failed for commit 95cbd352e1f88fcb7bc5a27752079b412ea33d66. Full PR test history. The magic incantation to run this job again is |
967e7ef
to
c630351
Compare
Jenkins GCE etcd3 e2e failed for commit c630351c686f7efdbcd39a67c97dbf9837592c35. Full PR test history. The magic incantation to run this job again is |
Jenkins verification failed for commit c630351c686f7efdbcd39a67c97dbf9837592c35. Full PR test history. The magic incantation to run this job again is |
You need to run |
@brendandburns |
You shouldn't need to manually edit BUILD files, just run the --brendan |
c630351
to
06f138a
Compare
@brendandburns |
hi @brendandburns , all tests had passed, could you take a look at this? |
LGTM. Thanks for the PR! |
Jenkins GCI GCE e2e failed for commit 06f138a. Full PR test history. The magic incantation to run this job again is |
@k8s-bot gci gce e2e test this |
@xialonglee: you can't request testing unless you are a kubernetes member. In response to this comment:
If you have questions or suggestions related to this bot's behavior, please file an issue against the kubernetes/test-infra repository. |
Automatic merge from submit-queue |
What this PR does / why we need it:
When mistakenly call this method with a value that overflows int32 will causes strange behavior in some environment (maybe in amd64 system, i'm not sure but my test shows that).
For example, call FromInt(93333333333) would result in -1155947179 and not mention overflows.
This change is