Yunjin Xu
Yunjin Xu
TestAPIAll和TestAPIScanKV中均准备了三条数据,在测试分页查询时只断言了返回的position,并末断言trans和kv数量。增加assert.Equal(t, 2, len(m["transactions"].([]interface{})))断言后,单独跑TestAPIAll没问题,但api_test.go单测一起跑该断言会被其他用例产生的数据污染。 看代码只在main_test.go中第一次启动时清理持久层数据。不知道go的单测是否为顺序执行的,若是则可以在这两个单测前执行清理数据,若不是则这类非精确查找单测的数据隔离性有待改进。
It can be used in anywhere except wsl(Ubuntu 18.04) shell(bash/fish) and windows command(CMD), It still be ENG status. My language is Chinese. I am Win10 Home, version 1909, build 18363.657
### Is there an existing issue for this? - [X] I have searched the tracker for existing similar issues and I know that duplicates will be closed ### Describe the...
reason: ``` bash $ go mod tidy go: golang.zx2c4.com/wireguard/[email protected]: invalid version: unknown revision 9fe93eaf9c4a ``` [wireguard-windows - WireGuard client for Windows versions](https://git.zx2c4.com/wireguard-windows/) ``` go get golang.zx2c4.com/wireguard/[email protected] ```
I want to get the username when authentication fails and record log for auditing. it looks like the ntlm protocol contains the username, but I don't know how to get...
## 问题场景 使用csharp的sdk开发MSG模式, 抄sample中QueryPrepared代码实现,当配置的Barrier表连接串有问题(如数据库账号没有写权现),DTM状态误变成commited. ``` [HttpGet("msg-queryprepared")] public async Task MsgMySqlQueryPrepared(CancellationToken cancellationToken) { var bb = _factory.CreateBranchBarrier(Request.Query); _logger.LogInformation("bb {0}", bb); using (MySqlConnection conn = GetConn()) { var res = await bb.QueryPrepared(conn);...
- Add Context property to Workflow class - Update Execute method in WorkflowGlobalTransaction to include wfAction parameter - Add test case for Execute method with wfAction
issue #52 1. workflow http interceptor 2. workflow gPRC interceptor (NOT streaming) 3. workflow grpc bidirectional streaming TCC demo, record with Workflow.Do method, pass branch trans info via business body.