[First release exclusive] Huawei OD machine test-integration test of microservices (C language problem solving)

insert image description here
Recently updated blog

Solution to this topic: Integration testing of microservices

topic description

Now there are n container services, and the startup of the service may have certain dependencies (some services have no dependencies), and secondly, the startup and loading of the service itself will consume some time.
Give you an nxn two-dimensional matrix useTime, where useTime[i][i]=10 means that it takes 10 seconds for service i to start and load itself, and useTime[i][j]=1 means that service i starts dependent service j and starts, useTime [i][k]=0, it means that the service i start does not depend on the service k.
In fact, 0<= i, j, k <

Supongo que te gusta

Origin blog.csdn.net/hihell/article/details/130466864
Recomendado
Clasificación