**Build scan:**
https://gradle-enterprise.elastic.co/s/7vcre2by7feoe/tests/:server:internalClusterTest/org.elasticsearch.search.aggregations.bucket.SignificantTermsSignificanceScoreIT/testScriptScore

**Reproduction line:**
```
./gradlew ':server:internalClusterTest' --tests "org.elasticsearch.search.aggregations.bucket.SignificantTermsSignificanceScoreIT.testScriptScore" -Dtests.seed=3AF8B75C5D0AD4EA -Dtests.locale=es-PR -Dtests.timezone=EAT -Druntime.java=20
```

**Applicable branches:**
main

**Reproduces locally?:**
Yes

**Failure history:**
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.search.aggregations.bucket.SignificantTermsSignificanceScoreIT&tests.test=testScriptScore

**Failure excerpt:**
```
java.lang.Exception: Test abandoned because suite timeout was reached.

  at __randomizedtesting.SeedInfo.seed([3AF8B75C5D0AD4EA]:0)

```
server/src/internalClusterTest/java/org/elasticsearch/search/aggregations/bucket/SignificantTermsSignificanceScoreIT.java
"sig_terms": {
                      "doc_count": 4,
                      "bg_count": 7,
                      "buckets": [
                        {
                          "key": %s,
                          "doc_count": 4,
                          "score": 0.39999999999999997,
                          "bg_count": 5
                        }
                      ]
                    }
                  },
                  {
                    "key": "1",
                    "doc_count": 3,
                    "sig_terms": {
                      "doc_count": 3,
                      "bg_count": 7,
                      "buckets": [
                        {
                          "key":%s,
                          "doc_count": 3,
                          "score": 0.75,
                          "bg_count": 4
                        }
                      ]
                    }
                  }
                ]