File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,8 @@ RUN mkdir -p qa/common && \
147147 cp bin/logging_test qa/L0_logging/. && \
148148 cp bin/backend_output_detail_test qa/L0_backend_output_detail/. && \
149149 cp -r deploy/mlflow-triton-plugin qa/L0_mlflow/. && \
150- cp bin/input_byte_size_test qa/L0_input_validation/.
150+ cp bin/input_byte_size_test qa/L0_input_validation/. && \
151+ cp bin/instance_queue_test qa/L0_batcher/.
151152
152153RUN mkdir -p qa/pkgs && \
153154 cp python/triton*.whl qa/pkgs/. && \
Original file line number Diff line number Diff line change @@ -837,6 +837,19 @@ set -e
837837
838838kill_server
839839
840+ # instance_queue_test: unit test for waiting_consumer_count_ merge accounting
841+ # (core dynamic-batcher / InstanceQueue path).
842+ INSTANCE_QUEUE_TEST_LOG=" ./instance_queue_test.log"
843+ INSTANCE_QUEUE_TEST_EXEC=./instance_queue_test
844+ set +e
845+ LD_LIBRARY_PATH=/opt/tritonserver/lib:$LD_LIBRARY_PATH $INSTANCE_QUEUE_TEST_EXEC >> $INSTANCE_QUEUE_TEST_LOG 2>&1
846+ if [ $? -ne 0 ]; then
847+ cat $INSTANCE_QUEUE_TEST_LOG
848+ echo -e " \n***\n*** Instance Queue Unit Test Failed\n***"
849+ RET=1
850+ fi
851+ set -e
852+
840853if [ $RET -eq 0 ]; then
841854 echo -e " \n***\n*** Test Passed\n***"
842855else
You can’t perform that action at this time.
0 commit comments