Giter Club home page Giter Club logo

Comments (11)

Gordon-x avatar Gordon-x commented on June 21, 2024 4

https://blog.csdn.net/weixin_42873928/article/details/129957307

from gomonkey.

lowang-bh avatar lowang-bh commented on June 21, 2024 1

https://blog.csdn.net/weixin_42873928/article/details/129957307

Not works for me.

from gomonkey.

lowang-bh avatar lowang-bh commented on June 21, 2024 1

The latest release of v2.10.1

testing.tRunner.func1.2({0x1020a40a0, 0x10327ada8})
	/usr/local/go/src/testing/testing.go:1526 +0x1c8
testing.tRunner.func1()
	/usr/local/go/src/testing/testing.go:1529 +0x364
panic({0x1020a40a0, 0x10327ada8})
	/usr/local/go/src/runtime/panic.go:884 +0x1f4
github.com/agiledragon/gomonkey/v2.modifyBinary(0x101aedcd0, {0x1400051e900, 0x18, 0x102050240?})
	/Users/wlh/go/src/github.com/volcano-sh/volcano/vendor/github.com/agiledragon/gomonkey/v2/modify_binary_darwin.go:9 +0xa0
github.com/agiledragon/gomonkey/v2.replace(0x101aedcd0, 0x101fc8ae0?)
	/Users/wlh/go/src/github.com/volcano-sh/volcano/vendor/github.com/agiledragon/gomonkey/v2/patch.go:269 +0x88
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyCore(0x140002df930, {0x101fc8ae0?, 0x14000518ca0?, 0x0?}, {0x101fc8ae0, 0x1022cb9f0, 0x13})
	/Users/wlh/go/src/github.com/volcano-sh/volcano/vendor/github.com/agiledragon/gomonkey/v2/patch.go:213 +0x4c
github.com/agiledragon/gomonkey/v2.(*Patches).ApplyMethod(0x0?, {0x10228a4e0, 0x1022bfce0}, {0x101b27ea0, 0x11}, {0x101fc8ae0?, 0x1022cb9f0?})
	/Users/wlh/go/src/github.com/volcano-sh/volcano/vendor/github.com/agiledragon/gomonkey/v2/patch.go:92 +0x1b0
github.com/agiledragon/gomonkey/v2.ApplyMethod(...)
	/Users/wlh/go/src/github.com/volcano-sh/volcano/vendor/github.com/agiledragon/gomonkey/v2/patch.go:29

from gomonkey.

Zh1Cheung avatar Zh1Cheung commented on June 21, 2024 1

still have this problem, go monkey couldn't solve it thoroughly? if so,please note it at readme

from gomonkey.

Vex7eX avatar Vex7eX commented on June 21, 2024

Same problem

from gomonkey.

ns-chsu avatar ns-chsu commented on June 21, 2024

I am suggesting running your unit test in docker images so the problem would not occur again.
It works fine for me with the imagegolang:1.20. I am using M1.

from gomonkey.

lowang-bh avatar lowang-bh commented on June 21, 2024

I am suggesting running your unit test in docker images so the problem would not occur again. It works fine for me with the imagegolang:1.20. I am using M1.

Yes, it works in docker and I did it to skip this error. But that's just a workaroud.

from gomonkey.

BlackSinny avatar BlackSinny commented on June 21, 2024

I am suggesting running your unit test in docker images so the problem would not occur again. It works fine for me with the imagegolang:1.20. I am using M1.

it work successly on my mac, but it is necessary everyone need update file?

from gomonkey.

zoulux avatar zoulux commented on June 21, 2024

mark

from gomonkey.

ShuaiGao avatar ShuaiGao commented on June 21, 2024

https://blog.csdn.net/weixin_42873928/article/details/129957307

worked out

from gomonkey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.