crypto-org-chain / crypto-org-chain/cronos

The integration test is not smart enough to detect used ports

Open
#225 2 comments 0 reactions 1 assignee Claimed by @elecming View on GitHub
tests
Dominant language
Go
Stars
336
Forks
299
Avg merge
2d 17h
Merged PRs (30d)
4

Description

**Describe the bug**
Now in the integration test, the fixture uses fixed network ports. If some ports are used, the integration test will lead to fail, which should be avoided, especially the test sometimes takes very long and the development would become difficult and time-consuming on troubleshooting.

**To Reproduce**
Create any process that may use the port that any fixture will use.

**Expected behavior**
The program should use random ports that available on the operating system.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.