@@ -153,6 +153,10 @@ func Test_SimplePod(t *testing.T) {
153
153
Name : "HF_EVALUATE_OFFLINE" ,
154
154
Value : "1" ,
155
155
},
156
+ {
157
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
158
+ Value : "True" ,
159
+ },
156
160
},
157
161
},
158
162
},
@@ -373,6 +377,10 @@ func Test_WithCustomPod(t *testing.T) {
373
377
Name : "HF_EVALUATE_OFFLINE" ,
374
378
Value : "1" ,
375
379
},
380
+ {
381
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
382
+ Value : "True" ,
383
+ },
376
384
},
377
385
},
378
386
{
@@ -575,6 +583,10 @@ func Test_EnvSecretsPod(t *testing.T) {
575
583
Name : "HF_EVALUATE_OFFLINE" ,
576
584
Value : "1" ,
577
585
},
586
+ {
587
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
588
+ Value : "True" ,
589
+ },
578
590
},
579
591
Command : generateCmd (svcOpts , job ),
580
592
Args : generateArgs (svcOpts , job , log ),
@@ -741,6 +753,10 @@ func Test_FileSecretsPod(t *testing.T) {
741
753
Name : "HF_EVALUATE_OFFLINE" ,
742
754
Value : "1" ,
743
755
},
756
+ {
757
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
758
+ Value : "True" ,
759
+ },
744
760
},
745
761
VolumeMounts : []corev1.VolumeMount {
746
762
{
@@ -1206,6 +1222,10 @@ func Test_ManagedPVC(t *testing.T) {
1206
1222
Name : "HF_EVALUATE_OFFLINE" ,
1207
1223
Value : "1" ,
1208
1224
},
1225
+ {
1226
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
1227
+ Value : "True" ,
1228
+ },
1209
1229
},
1210
1230
1211
1231
VolumeMounts : []corev1.VolumeMount {
@@ -1361,6 +1381,10 @@ func Test_ExistingPVC(t *testing.T) {
1361
1381
Name : "HF_EVALUATE_OFFLINE" ,
1362
1382
Value : "1" ,
1363
1383
},
1384
+ {
1385
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
1386
+ Value : "True" ,
1387
+ },
1364
1388
},
1365
1389
VolumeMounts : []corev1.VolumeMount {
1366
1390
{
@@ -1533,6 +1557,10 @@ func Test_PVCPreference(t *testing.T) {
1533
1557
Name : "HF_EVALUATE_OFFLINE" ,
1534
1558
Value : "1" ,
1535
1559
},
1560
+ {
1561
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
1562
+ Value : "True" ,
1563
+ },
1536
1564
},
1537
1565
VolumeMounts : []corev1.VolumeMount {
1538
1566
{
@@ -1736,6 +1764,10 @@ func Test_OfflineMode(t *testing.T) {
1736
1764
Name : "HF_EVALUATE_OFFLINE" ,
1737
1765
Value : "1" ,
1738
1766
},
1767
+ {
1768
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
1769
+ Value : "True" ,
1770
+ },
1739
1771
},
1740
1772
VolumeMounts : []corev1.VolumeMount {
1741
1773
{
@@ -1940,6 +1972,10 @@ func Test_ProtectedVars(t *testing.T) {
1940
1972
Name : "HF_EVALUATE_OFFLINE" ,
1941
1973
Value : "1" ,
1942
1974
},
1975
+ {
1976
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
1977
+ Value : "True" ,
1978
+ },
1943
1979
},
1944
1980
VolumeMounts : []corev1.VolumeMount {
1945
1981
{
@@ -2123,6 +2159,10 @@ func Test_OnlineModeDisabled(t *testing.T) {
2123
2159
Name : "HF_EVALUATE_OFFLINE" ,
2124
2160
Value : "1" ,
2125
2161
},
2162
+ {
2163
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
2164
+ Value : "True" ,
2165
+ },
2126
2166
},
2127
2167
VolumeMounts : []corev1.VolumeMount {
2128
2168
{
@@ -2632,6 +2672,10 @@ func Test_AllowCodeOfflineMode(t *testing.T) {
2632
2672
Name : "HF_EVALUATE_OFFLINE" ,
2633
2673
Value : "1" ,
2634
2674
},
2675
+ {
2676
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
2677
+ Value : "True" ,
2678
+ },
2635
2679
},
2636
2680
VolumeMounts : []corev1.VolumeMount {
2637
2681
{
@@ -2812,6 +2856,10 @@ func Test_OfflineModeWithOutput(t *testing.T) {
2812
2856
Name : "HF_EVALUATE_OFFLINE" ,
2813
2857
Value : "1" ,
2814
2858
},
2859
+ {
2860
+ Name : "UNITXT_USE_ONLY_LOCAL_CATALOGS" ,
2861
+ Value : "True" ,
2862
+ },
2815
2863
},
2816
2864
VolumeMounts : []corev1.VolumeMount {
2817
2865
{
0 commit comments