Skip to content

Commit 44eaf5e

Browse files
committed
reverting local changes
1 parent 2e620e2 commit 44eaf5e

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

tests/integration/feature_store/test_base.py

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,11 @@
1919
from ads.feature_store.statistics_config import StatisticsConfig
2020

2121

22-
# client_kwargs = dict(
23-
# retry_strategy=oci.retry.NoneRetryStrategy,
24-
# service_endpoint=os.getenv("service_endpoint"),
25-
# )
26-
# ads.set_auth(client_kwargs=client_kwargs)
27-
28-
# validate_model_ocid("ocid1.datasciencemodel.oc1.iad.amaaaaaaqc2qulqa7ribuimhibly3a3l5v5eem7akg7xeycutckdvusok2la")
29-
os.environ["OCI_FS_SERVICE_ENDPOINT"] = "http://localhost:21000/20230101"
30-
31-
# ads.set_auth(auth="api_key", client_kwargs={"service_endpoint": "http://localhost:21000/20230101"})
32-
# Set the environment variable
33-
os.environ['DEVELOPER_MODE'] = "True"
34-
os.environ['JAVA_HOME'] = "/Library/Java/JavaVirtualMachines/jdk-11.0.14.jdk/Contents/Home"
35-
os.environ['DEVELOPER_MODE'] = "True"
36-
22+
client_kwargs = dict(
23+
retry_strategy=oci.retry.NoneRetryStrategy,
24+
service_endpoint=os.getenv("service_endpoint"),
25+
)
26+
ads.set_auth(client_kwargs=client_kwargs)
3727

3828
try:
3929
from ads.feature_store.feature_store import FeatureStore
@@ -48,11 +38,8 @@ class FeatureStoreTestCase:
4838
# networks compartment in feature store
4939
TIME_NOW = datetime.utcnow().strftime("%Y_%m_%d_%H_%M_%S")
5040
TENANCY_ID = "ocid1.tenancy.oc1..aaaaaaaa462hfhplpx652b32ix62xrdijppq2c7okwcqjlgrbknhgtj2kofa"
51-
# COMPARTMENT_ID = "ocid1.tenancy.oc1..aaaaaaaa462hfhplpx652b32ix62xrdijppq2c7okwcqjlgrbknhgtj2kofa"
52-
# METASTORE_ID = "ocid1.datacatalogmetastore.oc1.iad.amaaaaaabiudgxyap7tizm4gscwz7amu7dixz7ml3mtesqzzwwg3urvvdgua"
53-
COMPARTMENT_ID = "ocid1.tenancy.oc1..aaaaaaaap4gumyssud5udgkbyb2nv5y3vzrkgsnskeqc77dopagutu25sjhq"
54-
METASTORE_ID = "ocid1.datacatalogmetastore.oc1.iad.amaaaaaaqc2qulqav5pzijun724nglvsent3634hqrc2ybu5vfi3fu35tkyq"
55-
41+
COMPARTMENT_ID = "ocid1.tenancy.oc1..aaaaaaaa462hfhplpx652b32ix62xrdijppq2c7okwcqjlgrbknhgtj2kofa"
42+
METASTORE_ID = "ocid1.datacatalogmetastore.oc1.iad.amaaaaaabiudgxyap7tizm4gscwz7amu7dixz7ml3mtesqzzwwg3urvvdgua"
5643
INPUT_FEATURE_DETAILS = [
5744
FeatureDetail("flower")
5845
.with_feature_type(FeatureType.STRING)

0 commit comments

Comments
 (0)