-
When a context is canceled, `context.Cause` may be able to provide a better explanation that just "context canceled" (the error returned by `Context.Err`). This can be useful to figure out which timeo…
pohly updated
10 months ago
-
Suppose I have a complex `Eventually` assertion which can block for a long time. When running a test manually, I have to wait for the timeout before there is any indication of what went wrong. If noth…
pohly updated
2 years ago
-
so we can use them as gomock EXPECT arguments. the original matchers of gomock is too weak when dealing with complex types and assertions.
-
Learned that @joelanford and @ncdc are of the opinion that using ginkgo for unit tests is introducing unnecessary complexity, which @stevekuznetsov has alluded to [here](https://github.com/operator-fr…
-
Hello,
I'm using go-mockgen in one of my projects, where I have it run in a bash script.
I see in the README that the installation instructions are:
```bash
go get -u github.com/derision-test/…
-
```go
package books_test
import (
"fmt"
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
var _ = Describe("Books", func() {
It("should be a novel", func() {
…
-
**What happened**:
The test flaked on unrelated branch: https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_kueue/3528/pull-kueue-test-tas-e2e-main/1860964874574630912
**…
-
when i set log level as warning or error and exec start ,program panic. My topology like this:
2022-09-16 14:26:35.964 CST [nwo.runner] Run -> INFO 015 running [fabric.default-OrdererOrg.orderer]…
-
OS X 10.11.6
Glide v0.12.0 (from homebrew)
Issue:
Running `glide up` produces the following output:
```
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching github.com/uber-go/zap.…
-
I am getting the following error when trying to run the weaver relay sample:
```
[e][fabric.alpha-peer-lifecycle-chaincode-install] Error: failed to endorse chaincode install: rpc error: code = …