Skip to content

Conversation

@hawkingrei
Copy link
Member

Signed-off-by: Weizhen Wang [email protected]

What issue does this PR solve?

  • close #xxxx
  • to #xxxx

What is changed:

Signed-off-by: Weizhen Wang <[email protected]>
Copy link
Contributor

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also you may fix the markup backquote in the following sections.

### Running all tests

You can always run all tests by executing the `gotest` target in Makefile:
We have two ways to run all tests. The first one is to use `go test` directly:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make ut is not "use go test directly"

```

This is almost equivalent to `go test ./...` but it enables and disables fail points before and after running tests.
The second one is to use bazel to run tests. The bazel will cache the test results and it is faster than the first one. But it need more storage space to save the cache. it is recommended to use the first one in the CI.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The second one is to use bazel to run tests. The bazel will cache the test results and it is faster than the first one. But it need more storage space to save the cache. it is recommended to use the first one in the CI.
The second one is to use bazel to run tests. Bazel will cache the test results and it is faster than the first one. But it needs more storage space to save the cache.

Also, I don't understand what " it is recommended to use the first one in the CI." means: you're talking about the second approach but now said the first approach is recommended in CI? Or what do you want to mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants