Skip to content

e2e test 如何测试 service input #537

Answered by snakorse
snakorse asked this question in Help
Discussion options

You must be logged in to vote

在进一步调试的过程中,发现如下问题:

  1. 当定义了需要暴露port的input插件,则无法通过trigger访问到
    方案:ilogtail-e2e.yaml中 ilogtail节点增加配置:ports,允许额外暴露port
  2. 测试flusher时,ilogtail-e2e.yaml中定义outputs节点后,实际运行会报未定义flusher配置
    方案:存在bug,ilogtail-e2e.yaml中指定的是 outputs节点,ilogtail pipeline配置最后需要的是 flushers 配置节点,缺少正确的转换

已在pr #521 中修复,commmit: c00e415

Replies: 2 comments 2 replies

Comment options

snakorse
Nov 29, 2022
Collaborator Author

You must be logged in to vote
2 replies
@henryzhx8
Comment options

@snakorse
Comment options

snakorse Nov 30, 2022
Collaborator Author

Comment options

snakorse
Dec 1, 2022
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by messixukejia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants