weixin_39525255
weixin_39525255
2020-12-09 00:41

ACL token passing integration test

The ACL token passing has been carried over from the forked project, but it had no tests. I added an integration test, which proves the functionality works as expected.

该提问来源于开源项目:allegro/marathon-consul

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39629969 weixin_39629969 5月前

    Coverage Status

    Coverage increased (+0.2%) to 90.267% when pulling a755249f53a6eb9ea26c6094b5eda4aba5adcbd0 on acl_token_test into 033c1a2ec9f6fdf4ea65a3890bffa44859c9ce14 on master.

    点赞 评论 复制链接分享
  • weixin_39629969 weixin_39629969 5月前

    Coverage Status

    Coverage increased (+0.2%) to 90.231% when pulling 659a702fdea01883b3909e0b041b9eb9edf70920 on acl_token_test into 033c1a2ec9f6fdf4ea65a3890bffa44859c9ce14 on master.

    点赞 评论 复制链接分享
  • weixin_39644750 weixin_39644750 5月前

    Thanks a lot

    点赞 评论 复制链接分享
  • weixin_39644750 weixin_39644750 5月前
    
    --- FAIL: TestACLTokenPassing (2.06s)
        Error Trace:    consul_test.go:1106
        Error:      "[%!s(*service.Service=&{serviceA.0_serviceA_8080 serviceA [marathon test marathon-task:serviceA.0] 127.0.0.1 true})]" should have 0 item(s), but has 1
        Messages:   Reading services list without ACL token should yield empty response
    

    https://travis-ci.org/allegro/marathon-consul/builds/289041586#L2073

    点赞 评论 复制链接分享

相关推荐