File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
Original file line number Diff line number Diff line change 22import sys
33import time
44import grpc
5- import os
65from concurrent import futures
76import storage_pb2_grpc
87import storage_pb2
1211
1312parser = argparse .ArgumentParser ()
1413
15- if os .environ .get ("STORAGE_EMULATOR_HOST" ) is None :
16- sys .exit (
17- "This benchmarking server only works when connected to an emulator. Please set STORAGE_EMULATOR_HOST."
18- )
14+ # if os.environ.get("STORAGE_EMULATOR_HOST") is None:
15+ # sys.exit(
16+ # "This benchmarking server only works when connected to an emulator. Please set STORAGE_EMULATOR_HOST."
17+ # )
1918
2019parser .add_argument ("--port" , help = "The port to run on." )
2120
2423if args .port is None :
2524 sys .exit ("Usage: python3 main.py --port 8081" )
2625
27- client = storage .Client .create_anonymous_client ()
26+ # client = storage.Client.create_anonymous_client()
27+ client = storage .Client ()
2828
2929
3030class StorageBenchWrapperServicer (storage_pb2_grpc .StorageBenchWrapperServicer ):
You can’t perform that action at this time.
0 commit comments