Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Rookie committed Oct 29, 2024
1 parent 3bee2b6 commit 757a2b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/qdrant/scripts-ut-spec/qdrant_setup_spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ Describe "Qdrant Server Setup Script Tests"
un_setup
QDRANT_POD_FQDN_LIST="pod-a.example.com,pod-b.example.com,pod-c.example.com"
When run start_server
The stderr should include "QDRANT_POD_NAME_LIST or QDRANT_POD_FQDN_LIST is not set in gen_initialize_redis_cluster_node"
The stderr should include "QDRANT_POD_NAME_LIST or QDRANT_POD_FQDN_LIST is not set, please check."
The status should be failure
End

It "exits with error if QDRANT_POD_FQDN_LIST is not set"
un_setup
QDRANT_POD_NAME_LIST="pod-a,pod-b,pod-c"
When run start_server
The stderr should include "QDRANT_POD_NAME_LIST or QDRANT_POD_FQDN_LIST is not set in gen_initialize_redis_cluster_node"
The stderr should include "QDRANT_POD_NAME_LIST or QDRANT_POD_FQDN_LIST is not set, please check."
The status should be failure
End
End
Expand Down

0 comments on commit 757a2b8

Please sign in to comment.