Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ public boolean startServer(int port) {
@Override
public void bindHandler(String endpoint, VertxAbstractHandler handler) {
router.get(endpoint).handler(handler);
router.put(endpoint).handler(handler);
Copy link
Member

Choose a reason for hiding this comment

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

interesting... I am wondering why it was not captured by our tests. /cc @jiazhai can you check do we have test coverage of gc endpoint?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think test only covers get and not the put. I will add test for triggering gc.

router.post(endpoint).handler(handler);
router.delete(endpoint).handler(handler);
}
};
requestRouter.bindAll();
Expand Down