Skip to content

Commit

Permalink
Release 20.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ishutinvv committed Feb 29, 2024
1 parent 2db0157 commit d988fc2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
version: '3'
services:
emcee-queue-service:
image: avitotech/emcee-queue:20.1.0
image: avitotech/emcee-queue:20.2.0
container_name: emcee-queue-service
ports:
- 41000:41000

queue-worker:
image: avitotech/emcee-worker:20.1.0
image: avitotech/emcee-worker:20.2.0
env_file:
- emcee-worker.env
depends_on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: emcee-queue
image: avitotech/emcee-queue:20.1.0
image: avitotech/emcee-queue:20.2.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 41000
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: emcee-worker
image: avitotech/emcee-worker:20.1.0
image: avitotech/emcee-worker:20.2.0
imagePullPolicy: IfNotPresent
resources:
requests:
Expand Down
15 changes: 15 additions & 0 deletions Sources/ScheduleStrategy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ to fiinsh its set of tests, while the most of destinations will be idle.
}
```

### Time weighted

To address downsides of `equallyDivided` splitter strategy `timeWeighted` uses estimated tests time duration retrived from test history service.
In order to make buckets more compact, set up test history service in queue and specify `timeWeighted` in test arg file. If test history hasn't
been set up in queue or there are no sufficient data time-weighted splitter fallbacks to equally divided splitter.
In large scale deployments you can prevent buckets granularity by specifying minimal bucket time (0 if not set).

```json
{
"scheduleStrategy": {
{"testSplitterType": {"type": "timeWeighted"}, "minBucketTime": 60}
}
}
```

### Progressive

A smarter technique that, in theory, combines the positive sides of each schedule strategy above and attempts to solve the problem when
Expand Down

0 comments on commit d988fc2

Please sign in to comment.