@@ -1232,7 +1232,7 @@ TEST(OvmsExportHfSettingsTest, allChanged) {
12321232 (char *)" --plugin_config" ,
12331233 (char *)" {\" NUM_STREAMS\" :\" 2\" }" ,
12341234 (char *)" --cache_dir" ,
1235- (char *)" /tmp/testchachedir " };
1235+ (char *)" /tmp/cache_dir_with_gold " };
12361236
12371237 int arg_count = 19 ;
12381238 ConstructorEnabledConfig config;
@@ -1247,10 +1247,10 @@ TEST(OvmsExportHfSettingsTest, allChanged) {
12471247 ASSERT_EQ (hfSettings.exportSettings .targetDevice , " NPU" );
12481248 ASSERT_EQ (hfSettings.downloadType , ovms::OPTIMUM_CLI_DOWNLOAD);
12491249 ASSERT_EQ (hfSettings.exportSettings .extraQuantizationParams .value (), " --sym --ratio 1.0" );
1250- ASSERT_EQ (hfSettings.exportSettings .cacheDir .value (), " /tmp/testchachedir " );
1250+ ASSERT_EQ (hfSettings.exportSettings .cacheDir .value (), " /tmp/cache_dir_with_gold " );
12511251 // here we expect only what is passed by user not all plugin parameters passed to genai
12521252 ASSERT_EQ (hfSettings.exportSettings .pluginConfig , " {\" NUM_STREAMS\" :\" 2\" }" );
1253- ASSERT_EQ (serverSettings.cacheDir , " /tmp/testchachedir " );
1253+ ASSERT_EQ (serverSettings.cacheDir , " /tmp/cache_dir_with_gold " );
12541254 ASSERT_EQ (config.getServerSettings ().serverMode , ovms::HF_PULL_MODE);
12551255}
12561256
@@ -1277,7 +1277,7 @@ TEST(OvmsExportHfSettingsTest, allChangedPullAndStart) {
12771277 (char *)" --plugin_config" ,
12781278 (char *)" {\" NUM_STREAMS\" :\" 2\" }" ,
12791279 (char *)" --cache_dir" ,
1280- (char *)" /tmp/testchachedir " };
1280+ (char *)" /tmp/cache_dir_with_gold " };
12811281
12821282 int arg_count = 20 ;
12831283 ConstructorEnabledConfig config;
@@ -1293,7 +1293,7 @@ TEST(OvmsExportHfSettingsTest, allChangedPullAndStart) {
12931293 ASSERT_EQ (hfSettings.exportSettings .extraQuantizationParams .value (), " --sym --ratio 1.0" );
12941294 ASSERT_EQ (config.getServerSettings ().serverMode , ovms::HF_PULL_AND_START_MODE);
12951295 ASSERT_EQ (hfSettings.exportSettings .pluginConfig , " {\" NUM_STREAMS\" :\" 2\" }" );
1296- ASSERT_EQ (hfSettings.exportSettings .cacheDir .value (), " /tmp/testchachedir " );
1296+ ASSERT_EQ (hfSettings.exportSettings .cacheDir .value (), " /tmp/cache_dir_with_gold " );
12971297}
12981298
12991299TEST (OvmsGraphConfigTest, positiveDefault) {
0 commit comments