Giter Club home page Giter Club logo

Comments (5)

xhd2015 avatar xhd2015 commented on September 21, 2024 1

@Zzhiter Just investigated, and it seems with --strace xgo will block when there are many tests to run.

I suggest adding --strace to only individual case, for example:

xgo test -run 'TestDecoder/#08' --strace ./internal/encoding/json

This will generate corresponding trace, and will not block.

from xgo.

xhd2015 avatar xhd2015 commented on September 21, 2024

Thanks for reporting this issue. Few questions:

  • May I know which repository you are working on?(knowing the project structure helps)
  • Which go version is being used?
  • After you manually add import _ "github.com/xhd2015/xgo/runtime/trace", have you run go mod tidy?
  • Can you run with normal go(i.e. without xgo) to see if the tests still block?

from xgo.

Zzhiter avatar Zzhiter commented on September 21, 2024
  1. https://github.com/protocolbuffers/protobuf-go and the commit version is 235ef28b
    image
    Test file is protobuf-go/internal/encoding/json/decode_test.go
  2. go version is 1.21.9
    image
  3. Yes, I have run it
  4. Normal go test will not block
    image

from xgo.

xhd2015 avatar xhd2015 commented on September 21, 2024

Thanks, will investigate as soon as possible

from xgo.

Zzhiter avatar Zzhiter commented on September 21, 2024

Wow, thanks for your help

from xgo.

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.