Skip to content
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

MySQL or Mariadb interrupts Reva build. #3779

Open
MahdiBaghbani opened this issue Apr 6, 2023 · 0 comments
Open

MySQL or Mariadb interrupts Reva build. #3779

MahdiBaghbani opened this issue Apr 6, 2023 · 0 comments

Comments

@MahdiBaghbani
Copy link
Contributor

Reva makefile run tests while building reva and TestGetShare/empty_list requires binding to local port 3306, which is a well known port for MySQL and MariaDB.

It would be nice to change this port for testing or include it on Install docs in the README file at root.

details:

➜ go version                                                     
go version go1.19.2 linux/amd64
--- FAIL: TestGetShare (0.00s)
    --- FAIL: TestGetShare/empty_list (0.00s)
panic: listen tcp 127.0.0.1:3306: bind: address already in use [recovered]
	panic: listen tcp 127.0.0.1:3306: bind: address already in use
➜ sudo ss -tulnp | grep 3306
tcp   LISTEN 0      151                          127.0.0.1:3306       0.0.0.0:*    users:(("mysqld",pid=1626,fd=23))                                                                                                                                  
tcp   LISTEN 0      70                           127.0.0.1:33060      0.0.0.0:*    users:(("mysqld",pid=1626,fd=21))  
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

No branches or pull requests

1 participant