mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #4] [MERGED] allow customizing the test server port #258
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#258
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/4
Author: @gracenoah
Created: 2/15/2018
Status: ✅ Merged
Merged: 2/15/2018
Merged by: @fsouza
Base:
master← Head:custom-port📝 Commits (1)
6839464allow customizing the test server port📊 Changes
2 files changed (+60 additions, -7 deletions)
View changed files
📝
fakestorage/example_test.go(+27 -0)📝
fakestorage/server.go(+33 -7)📄 Description
I needed to be able to run a standalone server on a known port in order to do some integration testing, so this PR enables that by adding another constructor:
NewServerWithHostPort🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.