Skip to content

Commit

Permalink
fix: CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seeflood committed Apr 28, 2024
1 parent cedb791 commit 3a8b90d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/dead_link_check_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{
"pattern":"^https://techhenzy.com/proxy-webassembly-architecture/"
},
{
"pattern":"^https://www.sofastack.tech/blog/the-next-five-years-of-cloud-native-runtime/"
},
{
"pattern": "^#"
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/grpc/default_api/api_lock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func TestTryLock(t *testing.T) {

t.Run("normal", func(t *testing.T) {
mockLockStore := mock_lock.NewMockLockStore(gomock.NewController(t))
mockLockStore.EXPECT().TryLock(context.TODO(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *lock.TryLockRequest) (*lock.TryLockResponse, error) {
mockLockStore.EXPECT().TryLock(context.Background(), gomock.Any()).DoAndReturn(func(ctx context.Context, req *lock.TryLockRequest) (*lock.TryLockResponse, error) {
assert.Equal(t, "lock|||resource", req.ResourceId)
assert.Equal(t, "owner", req.LockOwner)
assert.Equal(t, int32(1), req.Expire)
Expand Down

0 comments on commit 3a8b90d

Please sign in to comment.