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
Avoid hardcoded IP ports in tests #1227
Milestone
Comments
+1 |
test-run fixed (port 8080), prune.test.lua fixed. @GeorgyKirichenko please try to fix socket.test.lua. |
socket.test also should not try to connect to remote servers |
GeorgyKirichenko
added a commit
that referenced
this issue
Apr 14, 2016
avtikhon
added a commit
that referenced
this issue
Mar 11, 2020
Changed number of tests to packaging testing jobs from suites: "unit/ app/ app-tap/ box/ box-tap/ engine/ vinyl/", to all suites except 'replication/' suite which has special issue for it's enabling: #4798 Also added testing to the all available packing jobs except 'CentOS 6'. Removed test-run option that run testing inline to be able to run it in parallel. Also changed 'test-run' to 'make test-force' command. After issues #1227 and #1322 the tests were returned into the testing. Closes #4599
avtikhon
added a commit
that referenced
this issue
Mar 11, 2020
Changed number of tests to packaging testing jobs from suites: "unit/ app/ app-tap/ box/ box-tap/ engine/ vinyl/", to all suites except 'replication/' suite which has special issue for it's enabling: #4798 Also added testing to the all available packing jobs except 'CentOS 6'. Removed test-run option that run testing inline to be able to run it in parallel. Also changed 'test-run' to 'make test-force' command. After issues #1227 and #1322 the tests were returned into the testing. Closes #4599
avtikhon
added a commit
that referenced
this issue
Mar 12, 2020
Changed number of tests to packaging testing jobs from suites: "unit/ app/ app-tap/ box/ box-tap/ engine/ vinyl/", to all suites except 'replication/' suite which has special issue for it's enabling: #4798 Also added testing to the all available packing jobs except 'CentOS 6'. Removed test-run option that run testing inline to be able to run it in parallel. Also changed 'test-run' to 'make test-force' command. After issues #1227 and #1322 the tests were returned into the testing. Closes #4599
avtikhon
added a commit
that referenced
this issue
Mar 31, 2020
Changed number of tests to packaging testing jobs from suites: "unit/ app/ app-tap/ box/ box-tap/ engine/ vinyl/", to all suites except 'replication/' suite which has special issue for it's enabling: #4798 Also added testing to the all available packing jobs except 'CentOS 6'. Removed test-run option that run testing inline to be able to run it in parallel. Also changed 'test-run' to 'make test-force' command. After issues #1227 and #1322 the tests were returned into the testing. Closes #4599
avtikhon
added a commit
that referenced
this issue
Apr 23, 2020
Changed number of tests to packaging testing jobs from suites: "unit/ app/ app-tap/ box/ box-tap/ engine/ vinyl/", to all suites except 'replication/' suite which has special issue for it's enabling: #4798 Also added testing to the all available packing jobs except 'CentOS 6'. Removed test-run option that run testing inline to be able to run it in parallel. Also changed 'test-run' to 'make test-force' command. After issues #1227 and #1322 the tests were returned into the testing. Closes #4599
avtikhon
added a commit
that referenced
this issue
May 7, 2020
Changed number of tests to packaging testing jobs from suites: "unit/ app/ app-tap/ box/ box-tap/ engine/ vinyl/", to all suites except 'replication/' suite which has special issue for it's enabling: #4798 Also added testing to the all available packing jobs except 'CentOS 6'. Removed test-run option that run testing inline to be able to run it in parallel. Also changed 'test-run' to 'make test-force' command. After issues #1227 and #1322 the tests were returned into the testing. Closes #4599
avtikhon
added a commit
that referenced
this issue
May 8, 2020
Changed number of tests to packaging testing jobs from suites: "unit/ app/ app-tap/ box/ box-tap/ engine/ vinyl/", to all suites except 'replication/' suite which has special issue for it's enabling: #4798 Also added testing to the all available packing jobs except 'CentOS 6'. Removed test-run option that run testing inline to be able to run it in parallel. Also changed 'test-run' to 'make test-force' command. After issues #1227 and #1322 the tests were returned into the testing. Closes #4599
kyukhin
pushed a commit
that referenced
this issue
May 20, 2020
kyukhin
pushed a commit
that referenced
this issue
May 20, 2020
kyukhin
pushed a commit
that referenced
this issue
May 20, 2020
avtikhon
pushed a commit
that referenced
this issue
Jun 22, 2020
After we fixed bundled libyaml to correctly print 4-byte Unicode characters, it is no longer compatible with the upstream version, so enable building with bundled libyaml for every platform. This way the tests will pass. Follow-up #4090 (cherry picked from commit 47b91e9) After the app/digest.test.lua and app/socket.test.lua where unblocked by the commit: f588066 commit f588066 Author: Alexander V. Tikhonov <avtikhon@tarantool.org> Date: Sun May 10 09:28:15 2020 +0300 test: return tests to packaging testing Found that issues #1227 and #1322 were closed, returned the tests blocked by it into the testing. Part of #4599 THe following issue appeared in the both tests: [032] --- app/digest.result Thu May 21 03:21:02 2020 [032] +++ app/digest.reject Thu May 21 03:26:47 2020 [032] @@ -333,7 +333,7 @@ [032] [032] YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh [032] [032] - ' [032] +' [032] ... [032] digest.base64_decode(b) == s [032] --- [032] Found that the issue was already fixed in the main trunk of Tarantool 2.x version where bundled libyaml was used. To fix the tests in 1.10 version decided to use bundled libyaml too.
avtikhon
pushed a commit
that referenced
this issue
Jun 23, 2020
After we fixed bundled libyaml to correctly print 4-byte Unicode characters, it is no longer compatible with the upstream version, so enable building with bundled libyaml for every platform. This way the tests will pass. Follow-up #4090 (cherry picked from commit 47b91e9) After the app/digest.test.lua and app/socket.test.lua where unblocked by the commit: f588066 commit f588066 Author: Alexander V. Tikhonov <avtikhon@tarantool.org> Date: Sun May 10 09:28:15 2020 +0300 test: return tests to packaging testing Found that issues #1227 and #1322 were closed, returned the tests blocked by it into the testing. Part of #4599 THe following issue appeared in the both tests: [032] --- app/digest.result Thu May 21 03:21:02 2020 [032] +++ app/digest.reject Thu May 21 03:26:47 2020 [032] @@ -333,7 +333,7 @@ [032] [032] YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh [032] [032] - ' [032] +' [032] ... [032] digest.base64_decode(b) == s [032] --- [032] Found that the issue was already fixed in the main trunk of Tarantool 2.x version where bundled libyaml was used. To fix the tests in 1.10 version decided to use bundled libyaml too.
kyukhin
pushed a commit
that referenced
this issue
Jun 26, 2020
After we fixed bundled libyaml to correctly print 4-byte Unicode characters, it is no longer compatible with the upstream version, so enable building with bundled libyaml for every platform. This way the tests will pass. Follow-up #4090 (cherry picked from commit 47b91e9) After the app/digest.test.lua and app/socket.test.lua where unblocked by the commit: f588066 commit f588066 Author: Alexander V. Tikhonov <avtikhon@tarantool.org> Date: Sun May 10 09:28:15 2020 +0300 test: return tests to packaging testing Found that issues #1227 and #1322 were closed, returned the tests blocked by it into the testing. Part of #4599 THe following issue appeared in the both tests: [032] --- app/digest.result Thu May 21 03:21:02 2020 [032] +++ app/digest.reject Thu May 21 03:26:47 2020 [032] @@ -333,7 +333,7 @@ [032] [032] YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFh [032] [032] - ' [032] +' [032] ... [032] digest.base64_decode(b) == s [032] --- [032] Found that the issue was already fixed in the main trunk of Tarantool 2.x version where bundled libyaml was used. To fix the tests in 1.10 version decided to use bundled libyaml too.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some tests that use a specific port. e.g.
tarantool/test/box/socket.test.lua
Line 72 in 8e3534c
tarantool/test/replication/prune.test.lua
Line 6 in 8e3534c
These ports might be already used by some other process. Especially it is true for port 8080 that is used as a default by a number of tools. And it will cause tarantool test failure.
Ideally if available port in the test chosen dynamically by passing
0
tobind()
syscall.The text was updated successfully, but these errors were encountered: