Skip to content

Local ActiveDirectory integration testing #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 14, 2014

Conversation

jch
Copy link
Contributor

@jch jch commented Oct 28, 2014

We're unable to run ActiveDirectory in CI at this time, so I documented how to run tests against a local AD instance. I also added additional tests for the AD membership validator. Assuming a similar seed file is loaded into AD, we'll be able to run these tests locally.

cc @mtodd @jameswhite

admin_user: ENV.fetch("ACTIVEDIRECTORY_USER"),
admin_password: ENV.fetch("ACTIVEDIRECTORY_PASSWORD"),
search_domains: ENV.fetch("ACTIVEDIRECTORY_SEARCH_DOMAINS"),
instrumentation_service: @service
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might be able to make this generic using INTEGRATION_HOST et al.

@mtodd
Copy link
Member

mtodd commented Nov 11, 2014

Like how this is handled considering our situation with TravisCI and AD!

```sh
$ cp test/support/vm/activedirectory/env.sh{.example,}

# edit ad-env.sh and fill in with your VM's values, then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ad-env.sh should probably be activedirectory/env.sh right?

@jch jch self-assigned this Nov 11, 2014
@mtodd mtodd assigned mtodd and unassigned jch Nov 14, 2014
@mtodd
Copy link
Member

mtodd commented Nov 14, 2014

@jch taking this over so I can merge it and get 1.5 released.

@mtodd
Copy link
Member

mtodd commented Nov 14, 2014

@jch wanna take a quick look at this to make sure it makes sense.

mtodd added a commit that referenced this pull request Nov 14, 2014
…testing

Local ActiveDirectory integration testing
@mtodd mtodd merged commit 5d3e400 into master Nov 14, 2014
@mtodd mtodd deleted the local-activedirectory-integration-testing branch November 14, 2014 23:19
@mtodd mtodd mentioned this pull request Dec 4, 2014
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants