alcounit / selenosis

Scalable, stateless selenium hub for Kubernetes cluster
Apache License 2.0
81 stars 24 forks source link

browser limit is not working properly #26

Closed alcounit closed 3 years ago

alcounit commented 3 years ago

Incorrect validating of browser-limit property

{
  "status": 200,
  "version": "v1.0.0",
  "selenosis": {
    "total": 40,
    "active": 45,
    "pending": 0,
    "config": {
      "chrome": [
        "85.0"
      ]
    },
    "sessions": [
      {
        "id": "selenoid-vnc-chrome-85-0-accd5aaa-61b5-40e8-8cfa-39295f29064d",
        "labels": {
          "ENABLE_VNC": "true",
          "SCREEN_RESOLUTION": "1920x1080x24",
          "browserName": "chrome",
          "browserVersion": "85.0",
          "testName": "test 11"
        },
        "started": "2021-03-21T13:43:53Z",
        "uptime": "6.58s"
      },
      {
        "id": "selenoid-vnc-chrome-85-0-150a3acc-1b8b-4091-ac06-60107f2fa32e",
        "labels": {
          "ENABLE_VNC": "true",
          "SCREEN_RESOLUTION": "1920x1080x24",
          "browserName": "chrome",
          "browserVersion": "85.0",
          "testName": "test 35"
        },
        "started": "2021-03-21T13:43:51Z",
        "uptime": "8.58s"
      },
...