Skip to content

Commit b791c36

Browse files
committed
fix external tests and snippets
1 parent 6593b18 commit b791c36

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docker/mongodb-kubernetes-tests/tests/search/search_community_external_mongod_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def mdbc(namespace: str) -> MongoDBCommunity:
3636
if try_load(resource):
3737
return resource
3838

39-
mongot_host = f"{MDBS_RESOURCE_NAME}-search-svc.{namespace}.svc.cluster.local:27027"
39+
mongot_host = f"{MDBS_RESOURCE_NAME}-search-svc.{namespace}.svc.cluster.local:27028"
4040
if "additionalMongodConfig" not in resource["spec"]:
4141
resource["spec"]["additionalMongodConfig"] = {}
4242
if "setParameter" not in resource["spec"]["additionalMongodConfig"]:

docker/mongodb-kubernetes-tests/tests/search/search_community_external_mongod_tls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def mdbc(namespace: str) -> MongoDBCommunity:
4040
if try_load(resource):
4141
return resource
4242

43-
mongot_host = f"{MDBS_RESOURCE_NAME}-search-svc.{namespace}.svc.cluster.local:27027"
43+
mongot_host = f"{MDBS_RESOURCE_NAME}-search-svc.{namespace}.svc.cluster.local:27028"
4444
if "additionalMongodConfig" not in resource["spec"]:
4545
resource["spec"]["additionalMongodConfig"] = {}
4646
if "setParameter" not in resource["spec"]["additionalMongodConfig"]:

docs/search/04-search-external-mongod/code_snippets/04_0310_create_mongodb_community_resource.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ spec:
5757
- "bypassDefaultMaxTimeMS"
5858
additionalMongodConfig:
5959
setParameter:
60-
mongotHost: ${MDB_SEARCH_HOSTNAME}:27027
61-
searchIndexManagementHostAndPort: ${MDB_SEARCH_HOSTNAME}:27027
60+
mongotHost: ${MDB_SEARCH_HOSTNAME}:27029
61+
searchIndexManagementHostAndPort: ${MDB_SEARCH_HOSTNAME}:27028
6262
skipAuthenticationToSearchIndexManagementServer: false
6363
searchTLSMode: disabled
64+
useGrpcForSearch: true
6465
agent:
6566
logLevel: DEBUG
6667
statefulSet:

0 commit comments

Comments
 (0)