From ca68dc199cfd26e9e40ac36ba9fa333df52feadf Mon Sep 17 00:00:00 2001 From: evgeniy-scherbina Date: Tue, 17 Oct 2023 10:39:43 -0400 Subject: [PATCH] CR's fixes --- .env | 2 +- Makefile | 4 ++-- rebuild.sh | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) delete mode 100755 rebuild.sh diff --git a/.env b/.env index 00d97e9..a54ad67 100644 --- a/.env +++ b/.env @@ -48,7 +48,7 @@ TEST_EVM_QUERY_SERVICE_URL=http://kava:8545 ##### Kava Proxy Config # What port the proxy service listens on PROXY_SERVICE_PORT=7777 -LOG_LEVEL=ERROR +LOG_LEVEL=TRACE HTTP_READ_TIMEOUT_SECONDS=30 HTTP_WRITE_TIMEOUT_SECONDS=60 # Address of the origin server to proxy all requests to diff --git a/Makefile b/Makefile index 6291a8f..d63769d 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ install: lint .PHONY: build # build a development version docker image of the service build: lint - docker build --no-cache ./ -f local.Dockerfile -t ${IMAGE_NAME}:${LOCAL_IMAGE_TAG} + docker build ./ -f local.Dockerfile -t ${IMAGE_NAME}:${LOCAL_IMAGE_TAG} .PHONY: publish # build a production version docker image of the service @@ -42,7 +42,7 @@ unit-test: .PHONY: e2e-test # run tests that execute against a local or remote instance of the API e2e-test: - go test -count=1 -v -cover -coverprofile cover.out --race ./... -run "^TestE2ETestProxyCachesMethodsWithBlockNumberParam*" + go test -count=1 -v -cover -coverprofile cover.out --race ./... -run "^TestE2ETest*" .PHONY: it # run any test matching the provided pattern, can pass a regex or a string diff --git a/rebuild.sh b/rebuild.sh deleted file mode 100755 index 71603d8..0000000 --- a/rebuild.sh +++ /dev/null @@ -1,4 +0,0 @@ -make down -docker rmi kava-proxy-service-proxy -make build -make up \ No newline at end of file