Skip to content

Commit 2de181c

Browse files
authored
Switch VersionedLayerClientPrefetchTest to Mock (#1109)
After renaming both testcases of VersionedLayerClientPrefetchTest were running against real server, which is wrong. Resolves: OLPEDGE-2380 Signed-off-by: Yaroslav Stefinko <[email protected]>
1 parent 5f858ac commit 2de181c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/linux/fv/gitlab-olp-cpp-sdk-functional-test-mock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ update-ca-certificates
5151
echo ">>> Starting Functional Test against Mock Server... >>>"
5252
$REPO_HOME/build/tests/functional/olp-cpp-sdk-functional-tests \
5353
--gtest_output="xml:$REPO_HOME/reports/olp-functional-test-mock-report.xml" \
54-
--gtest_filter="VersionedLayerClientTest.GetPartitions":"VersionedLayerClientTest.GetAggregatedData":"CatalogClientTest.*":"VersionedLayerClientPrefetchTest.Prefetch":"VersionedLayerClientProtectTest.*":"VersionedLayerClientGetDataTest.*"
54+
--gtest_filter="VersionedLayerClientTest.GetPartitions":"VersionedLayerClientTest.GetAggregatedData":"CatalogClientTest.*":"VersionedLayerClientPrefetchTest.*":"VersionedLayerClientProtectTest.*":"VersionedLayerClientGetDataTest.*"
5555
result=$?
5656
echo "Functional test with Mock finished with status: ${result}"
5757

scripts/linux/fv/gitlab-olp-cpp-sdk-functional-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
echo ">>> Functional Test ... >>>"
2121
$REPO_HOME/build/tests/functional/olp-cpp-sdk-functional-tests \
2222
--gtest_output="xml:$REPO_HOME/reports/olp-functional-test-report.xml" \
23-
--gtest_filter="-ArcGisAuthenticationTest.SignInArcGis":"FacebookAuthenticationTest.SignInFacebook":"VersionedLayerClientTest.GetPartitions":"VersionedLayerClientTest.GetAggregatedData":"CatalogClientTest.*":"VersionedLayerClientPrefetchTest.Prefetch":"VersionedLayerClientProtectTest.*":"VersionedLayerClientGetDataTest.*"
23+
--gtest_filter="-ArcGisAuthenticationTest.SignInArcGis":"FacebookAuthenticationTest.SignInFacebook":"VersionedLayerClientTest.GetPartitions":"VersionedLayerClientTest.GetAggregatedData":"CatalogClientTest.*":"VersionedLayerClientPrefetchTest.*":"VersionedLayerClientProtectTest.*":"VersionedLayerClientGetDataTest.*"
2424
#The test VersionedLayerClientTest.GetPartitions uses mock server and it will be started in separate script. (OLPEDGE-732)
2525
result=$?
2626
echo "Functional test finished with status: ${result}"

0 commit comments

Comments
 (0)