Skip to content
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

Add pmm-admin start --all and pmm-admin stop --all bats tests #101

Open
ShahriyarR opened this issue Jun 12, 2017 · 4 comments
Open

Add pmm-admin start --all and pmm-admin stop --all bats tests #101

ShahriyarR opened this issue Jun 12, 2017 · 4 comments

Comments

@ShahriyarR
Copy link
Contributor

For generic tests there are tests pmm-admin start and pmm-admin stop, also --all command should be added with separate tests

@ShahriyarR
Copy link
Contributor Author

$ ~/percona-qa/pmm-tests/pmm-framework.sh --addclient=ps,4
User 'admin' is already present in MySQL server. Please create Orchestrator user manually.
[linux:metrics] OK, now monitoring this system.
[mysql:metrics] OK, now monitoring MySQL metrics using DSN root:***@unix(/tmp/PS_NODE_1.sock)
[mysql:queries] OK, now monitoring MySQL queries from perfschema using DSN root:***@unix(/tmp/PS_NODE_1.sock)
User 'admin' is already present in MySQL server. Please create Orchestrator user manually.
[linux:metrics] OK, already monitoring this system.
[mysql:metrics] OK, now monitoring MySQL metrics using DSN root:***@unix(/tmp/PS_NODE_2.sock)
[mysql:queries] OK, now monitoring MySQL queries from perfschema using DSN root:***@unix(/tmp/PS_NODE_2.sock)
User 'admin' is already present in MySQL server. Please create Orchestrator user manually.
[linux:metrics] OK, already monitoring this system.
[mysql:metrics] OK, now monitoring MySQL metrics using DSN root:***@unix(/tmp/PS_NODE_3.sock)
[mysql:queries] OK, now monitoring MySQL queries from perfschema using DSN root:***@unix(/tmp/PS_NODE_3.sock)
Orchestrator username :  admin
Orchestrator password :  passw0rd
[linux:metrics] OK, already monitoring this system.
[mysql:metrics] OK, now monitoring MySQL metrics using DSN root:***@unix(/tmp/PS_NODE_4.sock)
[mysql:queries] OK, now monitoring MySQL queries from perfschema using DSN root:***@unix(/tmp/PS_NODE_4.sock)
[shahriyar.rzaev@qaserver-02 Percona_Servers]$ sudo pmm-admin restart --all
OK, restarted 6 services.

So the service count for our tests is instance count + 2 each time

@ShahriyarR
Copy link
Contributor Author

I am going to pause implementing this due to:
https://jira.percona.com/browse/PMM-975

@RoelVdP
Copy link
Contributor

RoelVdP commented Aug 26, 2018

@Nailya could you have a look at this ticket + PMM-975 please?

@Nailya
Copy link
Contributor

Nailya commented Sep 19, 2018

PMM-975 is still reproducible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants