Skip to content

[BUG] EtcdInstanceRegisterRepositoryTest run error #6125

@Wweiei

Description

@Wweiei

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.718 s <<< FAILURE! - in org.apache.shenyu.registry.etcd.EtcdInstanceRegisterRepositoryTest
[ERROR] org.apache.shenyu.registry.etcd.EtcdInstanceRegisterRepositoryTest.testSelectInstancesAndWatcher Time elapsed: 0.479 s <<< ERROR!
java.lang.NullPointerException: Cannot invoke "String.split(String)" because the return value of "org.apache.shenyu.registry.api.config.RegisterConfig.getServerLists()" is null
at org.apache.shenyu.registry.etcd.EtcdInstanceRegisterRepositoryTest.testSelectInstancesAndWatcher(EtcdInstanceRegisterRepositoryTest.java:156)
[INFO] Running org.apache.shenyu.registry.etcd.EtcdClientTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s - in org.apache.shenyu.registry.etcd.EtcdClientTest

Expected Behavior

No response

Steps To Reproduce

No response

Environment

ShenYu version(s): master

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions