- 
                Notifications
    
You must be signed in to change notification settings  - Fork 379
 
test(libp2p): update reacher tests to use synctest #5267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| 
          
            
          
           | 
    @@ -121,17 +121,17 @@ endif | |
| .PHONY: test-ci | ||
| test-ci: | ||
| ifdef cover | ||
| $(GO) test -run "[^FLAKY]$$" -coverprofile=cover.out ./... | ||
| $(GO) test -run "[^FLAKY]$$" -coverprofile=cover.out ./pkg/p2p/libp2p/internal/reacher | ||
| else | ||
| $(GO) test -run "[^FLAKY]$$" ./... | ||
| $(GO) test -run "[^FLAKY]$$" ./pkg/p2p/libp2p/internal/reacher | ||
        
    
 | 
||
| endif | ||
| 
     | 
||
| .PHONY: test-ci-race | ||
| test-ci-race: | ||
| ifdef cover | ||
| $(GO) test -race -run "[^FLAKY]$$" -coverprofile=cover.out ./... | ||
| $(GO) test -race -run "[^FLAKY]$$" -coverprofile=cover.out ./pkg/p2p/libp2p/internal/reacher | ||
        
    
 | 
||
| else | ||
| $(GO) test -race -run "[^FLAKY]$$" ./... | ||
| $(GO) test -race -run "[^FLAKY]$$" ./pkg/p2p/libp2p/internal/reacher | ||
        
    
 | 
||
| endif | ||
| 
     | 
||
| .PHONY: test-ci-flaky | ||
| 
          
            
          
           | 
    ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test-ci target has been narrowed to run only the reacher package tests. This breaks the CI testing for the rest of the codebase. If this is intended for testing purposes only, it should not be committed. Otherwise, revert to
./...to ensure comprehensive test coverage in CI.