cloudfoundry/routing-acceptance-tests

Name: routing-acceptance-tests

Owner: Cloud Foundry

Description: null

Created: 2016-02-24 19:53:03.0

Updated: 2018-04-05 16:43:10.0

Pushed: 2018-04-05 16:43:08.0

Homepage: null

Size: 7751

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Routing Acceptance Tests

This test suite exercises Cloud Foundry Routing deployment.

Note: This repository should be imported as code.cloudfoundry.org/routing-acceptance-tests.

Running test suites
Test setup

To run the Routing Acceptance tests or Smoke tests, you will need:

The following commands will create a config file integration_config.json for a bosh-lite installation and set the CONFIG environment variable to the path for this file. Edit integration_config.json as appropriate for your environment.

Running Acceptance tests
/workspace/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/
> integration_config.json <<EOF

ddresses": ["10.244.14.2"],
pi": "api.bosh-lite.com",
dmin_user": "admin",
dmin_password": "admin",
kip_ssl_validation": true,
se_http":true,
pps_domain": "bosh-lite.com",
nclude_http_routes": true,
efault_timeout": 120,
f_push_timeout": 120,
erbose": true,
est_password": "test",
auth": {
"token_endpoint": "https://uaa.bosh-lite.com",
"client_name": "tcp_emitter",
"client_secret": "tcp-emitter-secret",
"port": 443,
"skip_ssl_validation": true

cp_router_group": "default-tcp"


rt CONFIG=$PWD/integration_config.json
n/test

Note:

Running Smoke tests
/workspace/routing-release/src/code.cloudfoundry.org/routing-acceptance-tests/
> integration_config.json <<EOF

ddresses": ["10.244.14.2"],
pi": "api.bosh-lite.com",
dmin_user": "admin",
dmin_password": "admin",
kip_ssl_validation": true,
se_http":true,
efault_timeout": 120,
pps_domain": "bosh-lite.com",
cp_apps_domain": "tcp.bosh-lite.com",
auth": {
"token_endpoint": "https://uaa.bosh-lite.com",
"client_name": "tcp_emitter",
"client_secret": "tcp-emitter-secret",
"port": 443,
"skip_ssl_validation": true

cp_router_group": "default-tcp"


rt CONFIG=$PWD/integration_config.json
n/smoke_tests

Note:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.