Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-workhorse
Commits
f12fcc72
Commit
f12fcc72
authored
Apr 04, 2017
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More tests for tcp:// URL's
parent
0b9148bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
internal/gitaly/gitaly_test.go
internal/gitaly/gitaly_test.go
+3
-0
No files found.
internal/gitaly/gitaly_test.go
View file @
f12fcc72
...
...
@@ -17,6 +17,9 @@ func TestParseAddress(t *testing.T) {
{
raw
:
"unix://foo/bar.socket"
,
network
:
"unix"
,
addr
:
"foo/bar.socket"
},
{
raw
:
"unix:foo/bar.socket"
,
network
:
"unix"
,
addr
:
"foo/bar.socket"
},
{
raw
:
"tcp://1.2.3.4"
,
network
:
"tcp"
,
addr
:
"1.2.3.4"
},
{
raw
:
"tcp://1.2.3.4:567"
,
network
:
"tcp"
,
addr
:
"1.2.3.4:567"
},
{
raw
:
"tcp://foobar"
,
network
:
"tcp"
,
addr
:
"foobar"
},
{
raw
:
"tcp://foobar:567"
,
network
:
"tcp"
,
addr
:
"foobar:567"
},
{
raw
:
"tcp://1.2.3.4/foo/bar.socket"
,
invalid
:
true
},
{
raw
:
"tcp:///foo/bar.socket"
,
invalid
:
true
},
{
raw
:
"tcp:/foo/bar.socket"
,
invalid
:
true
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment