Skip to content

Commit 995cfb1

Browse files
committed
[add] logging info about used redis connections
1 parent b902550 commit 995cfb1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

utilities/redis_benchmarks_specification/api.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@ def main():
109109
"--logname", type=str, default=None, help="logname to write the logs to"
110110
)
111111
args = parser.parse_args()
112+
print(
113+
"Using redis available at: {}:{} for event store.".format(
114+
GH_REDIS_SERVER_HOST, GH_REDIS_SERVER_PORT
115+
)
116+
)
117+
print(
118+
"Using redis available at: {}:{} as auth server.".format(
119+
REDIS_AUTH_SERVER_HOST, REDIS_AUTH_SERVER_PORT
120+
)
121+
)
112122

113123
if args.logname is not None:
114124
print("Writting log to {}".format(args.logname))

utilities/tests/test_redis_benchmarks_specification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def test_version():
5-
assert __version__ == '0.1.0'
5+
assert __version__ == "0.1.0"

0 commit comments

Comments
 (0)