Coder Social home page Coder Social logo

Unit tests randomly fail about gopkg HOT 7 OPEN

bytedance avatar bytedance commented on August 17, 2024
Unit tests randomly fail

from gopkg.

Comments (7)

SilverRainZ avatar SilverRainZ commented on August 17, 2024 1

FYI: @PureWhiteWu 申请了公司的 github runner,不久后应该就能解决这个问题。

from gopkg.

zhangyunhao116 avatar zhangyunhao116 commented on August 17, 2024

CC @PureWhiteWu

from gopkg.

PureWhiteWu avatar PureWhiteWu commented on August 17, 2024

我之前和 github support 联系过了,目前没有办法提升 runner 配置。
目前有两个思路解决这个问题:

  1. 采用 self-hosted runner;
  2. 删除这些会随机失败的 ut。

from gopkg.

zhangyunhao116 avatar zhangyunhao116 commented on August 17, 2024

Maybe makes the unit tests suitable for different machines is a better idea.

from gopkg.

luchsh avatar luchsh commented on August 17, 2024

Can we please be more specific?
like listing all the unstable testcases, steps to reproduce, reasons for failure, etc.

If not all of them failed for the same reason, guess we may have to create different issues for different cases.

from gopkg.

PureWhiteWu avatar PureWhiteWu commented on August 17, 2024

Can we please be more specific?
like listing all the unstable testcases, steps to reproduce, reasons for failure, etc.

If not all of them failed for the same reason, guess we may have to create different issues for different cases.

主要还是因为有一些 test 依赖时间进行测试,而在 github actions 上性能比较差,所以一旦有抖动就挂了……

from gopkg.

luchsh avatar luchsh commented on August 17, 2024

Can we please set up some “ self-hosted runners"? it sounds more straightforward

from gopkg.

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.