You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/26 04:04:07 UTC
[GitHub] [apisix-dashboard] idbeta opened a new pull request #876: test: add consumer with username
idbeta opened a new pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876
Please answer these questions before submitting a pull request
- Why submit this pull request?
- [x] E2E testcase
- [ ] New feature provided
- [ ] Improve performance
- Related issues
https://github.com/apache/apisix-dashboard/issues/607
___
### Bugfix
- Description
- How to fix?
___
### New feature or improvement
- Describe the details and related test reports.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] codecov-io commented on pull request #876: test: add consumer with username ( E2E )
Posted by GitBox <gi...@apache.org>.
codecov-io commented on pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876#issuecomment-734062630
# [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=h1) Report
> Merging [#876](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=desc) (9734cda) into [master](https://codecov.io/gh/apache/apisix-dashboard/commit/b002a199ff63727514f93388d984f1083278a2de?el=desc) (b002a19) will **increase** coverage by `0.07%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #876 +/- ##
==========================================
+ Coverage 42.95% 43.03% +0.07%
==========================================
Files 18 18
Lines 1271 1271
==========================================
+ Hits 546 547 +1
+ Misses 633 632 -1
Partials 92 92
```
| [Impacted Files](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [api/internal/core/store/store.go](https://codecov.io/gh/apache/apisix-dashboard/pull/876/diff?src=pr&el=tree#diff-YXBpL2ludGVybmFsL2NvcmUvc3RvcmUvc3RvcmUuZ28=) | `78.94% <0.00%> (+0.65%)` | :arrow_up: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=footer). Last update [b002a19...186704f](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] codecov-io edited a comment on pull request #876: test: add consumer with username ( E2E )
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876#issuecomment-734062630
# [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=h1) Report
> Merging [#876](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=desc) (186704f) into [master](https://codecov.io/gh/apache/apisix-dashboard/commit/b002a199ff63727514f93388d984f1083278a2de?el=desc) (b002a19) will **not change** coverage.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #876 +/- ##
=======================================
Coverage 42.95% 42.95%
=======================================
Files 18 18
Lines 1271 1271
=======================================
Hits 546 546
Misses 633 633
Partials 92 92
```
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=footer). Last update [b002a19...048385b](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] codecov-io edited a comment on pull request #876: test: add consumer with username ( E2E )
Posted by GitBox <gi...@apache.org>.
codecov-io edited a comment on pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876#issuecomment-734062630
# [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=h1) Report
> Merging [#876](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=desc) (8264df5) into [master](https://codecov.io/gh/apache/apisix-dashboard/commit/b002a199ff63727514f93388d984f1083278a2de?el=desc) (b002a19) will **increase** coverage by `0.07%`.
> The diff coverage is `n/a`.
[](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=tree)
```diff
@@ Coverage Diff @@
## master #876 +/- ##
==========================================
+ Coverage 42.95% 43.03% +0.07%
==========================================
Files 18 18
Lines 1271 1271
==========================================
+ Hits 546 547 +1
+ Misses 633 632 -1
Partials 92 92
```
| [Impacted Files](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [api/internal/core/store/store.go](https://codecov.io/gh/apache/apisix-dashboard/pull/876/diff?src=pr&el=tree#diff-YXBpL2ludGVybmFsL2NvcmUvc3RvcmUvc3RvcmUuZ28=) | `78.94% <0.00%> (+0.65%)` | :arrow_up: |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=footer). Last update [b002a19...8264df5](https://codecov.io/gh/apache/apisix-dashboard/pull/876?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] gxthrj merged pull request #876: test: add consumer with key-auth ( E2E )
Posted by GitBox <gi...@apache.org>.
gxthrj merged pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] idbeta commented on a change in pull request #876: test: add consumer with username ( E2E )
Posted by GitBox <gi...@apache.org>.
idbeta commented on a change in pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876#discussion_r530839799
##########
File path: api/test/e2e/consumer_test.go
##########
@@ -0,0 +1,125 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package e2e
+
+import (
+ "net/http"
+ "testing"
+)
+
+func TestConsumer_add_consumer_with_username(t *testing.T) {
Review comment:
Thanks for your suggestion.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] idbeta commented on pull request #876: test: add consumer with key-auth ( E2E )
Posted by GitBox <gi...@apache.org>.
idbeta commented on pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876#issuecomment-734187351
ping @gxthrj
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] gxthrj commented on a change in pull request #876: test: add consumer with username ( E2E )
Posted by GitBox <gi...@apache.org>.
gxthrj commented on a change in pull request #876:
URL: https://github.com/apache/apisix-dashboard/pull/876#discussion_r530802437
##########
File path: api/test/e2e/consumer_test.go
##########
@@ -0,0 +1,125 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package e2e
+
+import (
+ "net/http"
+ "testing"
+)
+
+func TestConsumer_add_consumer_with_username(t *testing.T) {
Review comment:
I think use `TestConsumer_with_key_auth` for func name is better.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org