Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

add support-logging test script #35

Merged
merged 21 commits into from
Jul 18, 2018

Conversation

weichou1229
Copy link
Member

Signed-off-by: Bruce weichou1229@gmail.com

@weichou1229
Copy link
Member Author

@tsconn23 please help check this PR .

@JPWKU
Copy link
Contributor

JPWKU commented Jun 27, 2018

recheck

1 similar comment
@andyf1967
Copy link
Member

recheck

Signed-off-by: Bruce <weichou1229@gmail.com>
# Conflicts:
#	bin/arm64_env.sh
#	bin/env.sh
#	docker-compose.yml
Signed-off-by: Bruce <weichou1229@gmail.com>
@@ -0,0 +1,192 @@
var dbName = 'logging';
Copy link
Member

Choose a reason for hiding this comment

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

Please make this a JSON file. All of the other DataDumps files are JSON files, so this one should be as well. In addition, the other DataDumps directories have a populate.sh script that is used for population. Please use the same methodology in this case.

Copy link
Member Author

@weichou1229 weichou1229 Jul 12, 2018

Choose a reason for hiding this comment

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

In my opinion, JSON file is not maintainable and hard to check syntax error ,and I also use mongo js lib in support-notification test .

Copy link
Member Author

Choose a reason for hiding this comment

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

I had add populate.sh and environment file , please check .

Copy link
Member

@tsconn23 tsconn23 Jul 12, 2018

Choose a reason for hiding this comment

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

@weichou1229 Well then you now have a situation where the mechanism to populate data for this one group of tests is different from the others. It needs to be uniform. If you're going to change it for all of them, do that as a separate PR. @cloudxxx8

And I just noticed that in the PR for the new export-client tests, you used a JSON file. So please make this consistent.
https://github.com/edgexfoundry/blackbox-testing/pull/39/files#diff-f58cab9c339000f0f7727132fd442c65

Copy link
Member Author

Choose a reason for hiding this comment

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

ok , I will change all my PR to JSON file

@@ -0,0 +1,42 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

Can we both name this file and set the "name" property so that the default name is appropriate when imported into Postman? "support-logging.json" perhaps?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes , It's ok .

@@ -0,0 +1,42 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

Can we both name this file and set the "name" property so that the default name is appropriate when imported into Postman? "support-logging-docker.json" perhaps?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes , It's ok .

Signed-off-by: Bruce <weichou1229@gmail.com>
…json and

Signed-off-by: Bruce <weichou1229@gmail.com>
…port-logging-docker.postman_environment.json

Signed-off-by: Bruce <weichou1229@gmail.com>
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
Copy link
Member

Choose a reason for hiding this comment

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

@weichou1229 Thanks for adding this but see my other comments regarding how it's a different methodology from the existing test data population @cloudxxx8

Copy link
Member Author

Choose a reason for hiding this comment

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

@tsconn23 I had changed dump file to json format , please check .

Signed-off-by: Bruce <weichou1229@gmail.com>
Signed-off-by: Bruce <weichou1229@gmail.com>
Signed-off-by: Bruce <weichou1229@gmail.com>
…json and

Signed-off-by: Bruce <weichou1229@gmail.com>
…port-logging-docker.postman_environment.json

Signed-off-by: Bruce <weichou1229@gmail.com>
Signed-off-by: Bruce <weichou1229@gmail.com>
weichou1229 and others added 4 commits July 18, 2018 21:38
Signed-off-by: Bruce <weichou1229@gmail.com>
Signed-off-by: Bruce <weichou1229@gmail.com>
…t max limit

Signed-off-by: Bruce <weichou1229@gmail.com>
Signed-off-by: Trevor Conn <trevor_conn@dell.com>
@tsconn23 tsconn23 dismissed their stale review July 18, 2018 17:48

Request changes were made

Copy link
Member

@tsconn23 tsconn23 left a comment

Choose a reason for hiding this comment

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

Note additional commit I added at the end during final round of verification. I have all 94 tests passing now via Postman, 0 failures. Merging.

@tsconn23 tsconn23 merged commit bcb7754 into edgexfoundry:master Jul 18, 2018
@weichou1229 weichou1229 deleted the support-logging-test branch July 19, 2018 02:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants