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

Disable RedisURIBuilderUnitTests failing on Windows OS #1204

Merged
merged 1 commit into from
Jan 13, 2020

Conversation

kshchepanovskyi
Copy link
Contributor

@kshchepanovskyi kshchepanovskyi commented Jan 10, 2020

Add @DisabledOnOs(OS.WINDOWS) to two tests - redisSocket and
redisSocketWithPassword that fail in Windows:

java.lang.IllegalArgumentException: Illegal character in authority at index 15: redis-socket://C:\Users\konstantinsh\IdeaProjects\lettuce-core\work\socket-6479

	at java.base/java.net.URI.create(URI.java:883)
	at io.lettuce.core.RedisURI.create(RedisURI.java:233)

Tests are disabled on Windows as socket connections are not supposed
to be used on OS other that Unix.

Add @DisabledOnOs(OS.WINDOWS) to two tests - `redisSocket` and
`redisSocketWithPassword` that fail in Windows:

```
java.lang.IllegalArgumentException: Illegal character in authority at index 15: redis-socket://C:\Users\konstantinsh\IdeaProjects\lettuce-core\work\socket-6479

	at java.base/java.net.URI.create(URI.java:883)
	at io.lettuce.core.RedisURI.create(RedisURI.java:233)
```

Tests are disabled on Windows as socket connections are not supposed
to be used on OS other that Unix.
@codecov
Copy link

codecov bot commented Jan 10, 2020

Codecov Report

Merging #1204 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1204      +/-   ##
============================================
- Coverage     78.78%   78.76%   -0.03%     
+ Complexity     5786     5784       -2     
============================================
  Files           424      424              
  Lines         19443    19443              
  Branches       2204     2204              
============================================
- Hits          15319    15315       -4     
- Misses         3094     3097       +3     
- Partials       1030     1031       +1
Impacted Files Coverage Δ Complexity Δ
...io/lettuce/core/protocol/ChannelLogDescriptor.java 57.14% <0%> (-21.43%) 4% <0%> (-1%)
...java/io/lettuce/core/protocol/DefaultEndpoint.java 68.91% <0%> (-1.04%) 88% <0%> (-1%)
src/main/java/io/lettuce/core/RedisPublisher.java 79.88% <0%> (-0.3%) 5% <0%> (ø)
.../io/lettuce/core/dynamic/ReactiveTypeAdapters.java 85.13% <0%> (+0.67%) 1% <0%> (ø) ⬇️
src/main/java/io/lettuce/core/ScanStream.java 87.66% <0%> (+1.94%) 24% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 72149ed...f647fee. Read the comment docs.

@mp911de mp911de added this to the 5.2.2 milestone Jan 13, 2020
@mp911de mp911de changed the title Fix RedisURIBuilderUnitTests failing on Windows OS Disable RedisURIBuilderUnitTests failing on Windows OS Jan 13, 2020
@mp911de mp911de merged commit d74d2a9 into redis:master Jan 13, 2020
mp911de pushed a commit that referenced this pull request Jan 13, 2020
Add @DisabledOnOs(OS.WINDOWS) to two tests - `redisSocket` and
`redisSocketWithPassword` that fail in Windows:

```
java.lang.IllegalArgumentException: Illegal character in authority at index 15: redis-socket://C:\Users\konstantinsh\IdeaProjects\lettuce-core\work\socket-6479

	at java.base/java.net.URI.create(URI.java:883)
	at io.lettuce.core.RedisURI.create(RedisURI.java:233)
```

Tests are disabled on Windows as socket connections are not supposed
to be used on OS other that Unix.
mp911de pushed a commit that referenced this pull request Jan 13, 2020
Add @DisabledOnOs(OS.WINDOWS) to two tests - `redisSocket` and
`redisSocketWithPassword` that fail in Windows:

```
java.lang.IllegalArgumentException: Illegal character in authority at index 15: redis-socket://C:\Users\konstantinsh\IdeaProjects\lettuce-core\work\socket-6479

	at java.base/java.net.URI.create(URI.java:883)
	at io.lettuce.core.RedisURI.create(RedisURI.java:233)
```

Tests are disabled on Windows as socket connections are not supposed
to be used on OS other that Unix.
@mp911de
Copy link
Collaborator

mp911de commented Jan 13, 2020

Thank you for your contribution. That's merged and backported now.

@kshchepanovskyi kshchepanovskyi deleted the fix-windows-build branch January 13, 2020 12:20
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

Successfully merging this pull request may close these issues.

2 participants