Starts in:
1 DAY
21 HRS
26 MIN
2 SEC
Starts in:
1 D
21 H
26 M
2 S
Open Closed

Unit test error: Volo.Abp.AbpException : Undefined feature: Identity.MaxUser*** #2230


User avatar
1
christophe.baille created

ABP Framework version: v5.0.0-rc.1 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

Steps to reproduce the issue:

1- Create a new solution 2- Create an entity 3- Open Test explorer

When I right click on EntityFrameworkCore project and select run, all tests fails with the message

Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module AppRC.AppRCTestBaseModule, AppRC.TestBase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: Undefined feature: Identity.MaxUserCount0 ---- Volo.Abp.AbpException : Undefined feature: Identity.MaxUserCount0

NOTE: This is not every times, but often enoug. It can happens when click on "Run All Tests in View" too. I met the issue now that "Run All Tests in View" do not run all tests anymore too, it skip projects... If run tests one by one, it works well.

I got the error when run on Microsoft DevOps pipeline too

---- Volo.Abp.AbpException : Undefined feature: Identity.MaxUser�


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share this app with me? liming.ma@volosoft.com

  • User Avatar
    0
    christophe.baille created

    I sent you an email to share the application.

    It seems I did mention 2 different issues here... If the first one is clear. I do mention on the NOTE part that I get issues when try to run them all. I got more information about when I run dotnet test in a console, it is on the same project:

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will release a new version soon, you can try it again. Thanks

  • User Avatar
    0
    christophe.baille created

    Hi

    I updated to v5.0.0-rc.2 and all seems working well now. I close the ticket then.

    Thanks

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06