Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the list of servers + add us-east1 #86

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Refactor the list of servers + add us-east1 #86

merged 1 commit into from
Sep 25, 2024

Conversation

rtsisyk
Copy link
Member

@rtsisyk rtsisyk commented Sep 25, 2024

No description provided.

src/servers.ts Outdated
220816, 220912, 221029, 221119, 221216, 230121, 230210, 230227, 230329, 230503, 230602, 230710, 230814, 230920,
231113, 231213, 240105, 240202, 240228, 240326, 240429, 240528, 240613, 240702, 240723, 240810, 240904,
],
dataVersions: 99999,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: kUnlimited

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Добавил. Уточню, что на planet не хватает каких-то совсем древних версий от 2021 года, но я посчитал возможным на это забить ради упрощения.

@@ -17,7 +17,7 @@ describe('X-OM-DataVersion', () => {
const server = SERVER.fi1;
let req = new Request(URL, {
headers: {
'X-OM-DataVersion': String(server.dataVersions[0]),
'X-OM-DataVersion': String(DATA_VERSIONS[DATA_VERSIONS.length - 1]),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LAST_DATA_VERSION?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Обновил. В оригинальном тесте проверялась не последняя версия, а самая ранняя на сервере. Но как будто сам тест тестирует не это.

@rtsisyk rtsisyk merged commit ecc91e7 into master Sep 25, 2024
1 check passed
@rtsisyk rtsisyk deleted the refactoring branch September 25, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants