-
Notifications
You must be signed in to change notification settings - Fork 262
[fel] add key scenario cases #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 3.5.x
Are you sure you want to change the base?
[fel] add key scenario cases #165
Conversation
84a3f9d
to
aef2f0b
Compare
aef2f0b
to
707cbf0
Compare
|
||
private final F flow; | ||
|
||
public AiWhenHappen(WhenHappen<O, D, I, RF> matchHappen, F flow) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*/ | ||
public class AiFlowCaseTest { | ||
private static final int SPEED = 1; | ||
@Nested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.close(); | ||
|
||
@Test | ||
void run() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
counter.incrementAndGet(); | ||
}).offer(Tip.fromArray("hi")); | ||
result.await(); | ||
System.out.printf("time:%s, cost=%s\n", System.currentTimeMillis(), System.currentTimeMillis() - startTime); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -160,6 +160,7 @@ public class To<I, O> extends IdGenerator implements Subscriber<I, O> { | |||
*/ | |||
private Operators.Produce<FlowContext<I>, O> produce; | |||
|
|||
private volatile int maxConcurrency = MAX_CONCURRENCY; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
49c246c
to
a2e727a
Compare
🔗 相关问题 / Related Issue
Issue 链接 / Issue Link: #167
📋 变更类型 / Type of Change
📝 变更目的 / Purpose of the Change
增加关键示例用于突出核心特性
📋 主要变更 / Brief Changelog
🧪 验证变更 / Verifying this Change
测试步骤 / Test Steps
测试覆盖 / Test Coverage
📸 截图 / Screenshots
✅ 贡献者检查清单 / Contributor Checklist
请确保你的 Pull Request 符合以下要求 / Please ensure your Pull Request meets the following requirements:
基本要求 / Basic Requirements:
代码质量 / Code Quality:
测试要求 / Testing Requirements:
mvn -B clean package -Dmaven.test.skip=true
,elsa README 中的编译检查 / Basic checks passmvn clean install
/ Unit tests pass文档和兼容性 / Documentation and Compatibility:
📋 附加信息 / Additional Notes
审查者注意事项 / Reviewer Notes: