Skip to content

Commit

Permalink
Merge pull request #2304 from CrowleyRajapakse/new-main8
Browse files Browse the repository at this point in the history
Fixing intermittent agent test failure
  • Loading branch information
Krishanx92 authored Apr 8, 2024
2 parents 77948bb + c7987f7 commit 48f9e5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx --create-namespace
kubectl apply -f ./CRs/artifacts.yaml
kubectl wait deployment/apim-wso2am-cp-deployment-1 -n apk --for=condition=available --timeout=600s
kubectl wait --timeout=5m -n apk deployment/apk-wso2-apk-adapter-deployment --for=condition=Available
Expand All @@ -10,11 +10,10 @@ CC_IP=$(kubectl get svc apk-wso2-apk-common-controller-web-server-service -n apk
sudo echo "$IP localhost" | sudo tee -a /etc/hosts
sudo echo "$IP idp.am.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$CC_IP apk-wso2-apk-common-controller-service.apk.svc" | sudo tee -a /etc/hosts
sudo echo "127.0.0.1 am.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP am.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP api.am.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP default.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP default.sandbox.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP sandbox.default.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "255.255.255.255 broadcasthost" | sudo tee -a /etc/hosts
sudo echo "::1 localhost" | sudo tee -a /etc/hosts
kubectl port-forward svc/apim-wso2am-cp-1-service -n apk 9443:9443 &
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class Constants {

public static final String DEFAULT_IDP_HOST = "am.wso2.com";
public static final String DEFAULT_API_HOST = "am.wso2.com";
public static final String DEFAULT_GW_PORT = "9443";
public static final String DEFAULT_GW_PORT = "";
public static final String DEFAULT_TOKEN_EP = "oauth2/token";
public static final String DEFAULT_DCR_EP = "client-registration/v0.17/register";
public static final String DEFAULT_API_CONFIGURATOR = "api/configurator/1.1.0/";
Expand Down

0 comments on commit 48f9e5b

Please sign in to comment.