Updates to the affinity router test framework as
well as bug fixes to the affinity router found by
the test framework.
Change-Id: I90e6baa9e9ee11bd8034498b8651e9e14512e528
diff --git a/docker/Dockerfile.arouterTest b/docker/Dockerfile.arouterTest
index 5fe1dc2..302c7b6 100644
--- a/docker/Dockerfile.arouterTest
+++ b/docker/Dockerfile.arouterTest
@@ -27,6 +27,7 @@
# Compile protobuf files
# Repeat here even if it's done in the base
RUN sh /src/protos/build_protos.sh /src/protos
+#RUN find / -name "*.pb.go" -print
#ADD /src/protos/voltha.pb test/afrouter/suites
# Build rw_core
@@ -35,7 +36,7 @@
RUN cp /src/protos/voltha.pb tests/afrouter/suites
RUN cd tests/afrouter && go build -o /src/afrouterTest
RUN mkdir /src/tests
-RUN cd tests/afrouter/suites && /src/afrouterTest -config main.json
+RUN cd tests/afrouter/suites && /src/afrouterTest -config main.json -logLevel 1
RUN mkdir /src/temp
RUN cp -r tests/afrouter/tests /src/temp
#RUN cd tests/afrouter/tester && go build -o /src/tests
@@ -55,9 +56,10 @@
COPY --from=build-env /src/arouter.json /app/
COPY --from=build-env /src/arouter_test.json /app/
COPY --from=build-env /src/protos/voltha.pb /app/
-COPY --from=build-env /src/suites /app
+COPY --from=build-env /src/suites/ /app/suites/
COPY --from=build-env /src/tests /app
COPY --from=build-env /src/temp/ /app/src/
+COPY --from=build-env /go/src/github.com/opencord/voltha-go/protos/ /app/protos/
WORKDIR /app
#CMD cd /app && ./arouter -config config/arouter.voltha2.json