File tree 3 files changed +5
-4
lines changed
tests/progaudi.tarantool.tests
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 8
8
env : TARANTOOL_VERSION= TEST_FILTER='--filter "Tarantool!=1.8"'
9
9
- os : osx
10
10
osx_image : xcode9.2
11
- env : TARANTOOL_VERSION=--HEAD TEST_FILTER='--filter "Tarantool== 1.8"'
11
+ env : TARANTOOL_VERSION=--HEAD TEST_FILTER='--filter "Tarantool=1.8"'
12
12
13
13
before_install :
14
14
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ./scripts/ubuntu-prereqs.sh ; fi
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ services:
7
7
environment :
8
8
TARANTOOL_1_7_REPLICATION_SOURCE : " tarantool_1_7:3301"
9
9
TARANTOOL_1_8_REPLICATION_SOURCE : " tarantool_1_8:3301"
10
+ REDIS_HOST : redis
10
11
links :
11
12
- tarantool_1_7
12
13
- tarantool_1_8
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ public static string GetReplicationSource_1_8(string userName = null)
19
19
20
20
public static async Task < string > GetRedisConnectionString ( )
21
21
{
22
- var tarantoolUrl = Environment . GetEnvironmentVariable ( "TARANTOOL_1_7_REPLICATION_SOURCE " ) ;
22
+ var redisUrl = Environment . GetEnvironmentVariable ( "REDIS_HOST " ) ;
23
23
24
24
var host = "127.0.0.1" ;
25
- if ( tarantoolUrl != null )
25
+ if ( ! string . IsNullOrWhiteSpace ( redisUrl ) )
26
26
{
27
- var resolved = await Dns . GetHostAddressesAsync ( "redis" ) ;
27
+ var resolved = await Dns . GetHostAddressesAsync ( redisUrl ) ;
28
28
host = resolved . First ( ) . ToString ( ) ;
29
29
}
30
30
You can’t perform that action at this time.
0 commit comments