Commit Graph

172 Commits

Author SHA1 Message Date
Akira Noda
90bdd72555
Admin: Using ruff format instead of black (#7502) 2024-03-21 19:17:29 -01:00
Bert Blommers
e3330af3fe
Prep release 5.0.3 (#7447) 2024-03-09 20:39:46 -01:00
rafcio19
12460e510d
SQS: message send param validation (#7403) 2024-02-29 08:44:24 -01:00
Bert Blommers
f9add957c9
SQS: send_message() should respect DelaySeconds of 0 (#7373) 2024-02-20 22:07:18 -01:00
Bert Blommers
a7f3b367b4 Introduce mock_aws() (#7194) 2024-01-27 19:38:09 +00:00
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
90e8bb1313
Techdebt: Improve/fix exception handling in tests (#7011) 2023-11-09 22:17:46 -01:00
Macwan Nevil
c1a6609f55
ELBv2: added validation for target group (#6808) 2023-09-14 12:52:14 +00:00
Bert Blommers
8aafbdb58f
Techdebt: Streamline AWSLambda/Docker tests (#6735) 2023-08-31 06:47:49 +00:00
amlodzianowski
873bc9cf1a
fix: broad catch statement for failedInvalidDelay (#6721)
Co-authored-by: Adrian Mlodzianowski <amlodzianowski@logicworks.net>
2023-08-24 17:46:03 +00:00
kbalk
1626c35ac5
Techdebt: Replace sure with regular assertions in SQS (#6634) 2023-08-12 07:10:50 +00:00
rafcio19
201e57585b
SQS: Improve deduplication logic (#6184) 2023-04-09 10:13:28 +00:00
Bert Blommers
651722689f
Admin: Improve automatic resource updates (#5988) 2023-02-26 18:44:04 -01:00
Brian Pandola
7c44e48670
Fix: SQS fails to get newly-visible messages when long polling (#5733)
The [original commit to remove the `sleep` call][1], only considered newly-arriving
messages; but didn't take into account that existing messages could become visible
in a much shorter time duration than the wait timeout.  This commit addresses this
by checking for newly-visible messages at the visibility timeout granularity (seconds),
which is still a major improvement over the original 10 millisecond polling.

[1]: <d560ff002d> "Remove Sleep Call"
2022-12-04 18:00:56 -08:00
Rahi Bhensdadia
97b5e8b3ab
SQS: Implement DelaySeconds validation (#5703) 2022-11-27 20:47:18 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Bert Blommers
8a3b4d519a
SQS: Ensure we use the correct queue names in tests (#5632) 2022-11-02 14:49:44 -01:00
Bert Blommers
930c58bd13
SQS: Future-proof the changes in URLs (#5442) 2022-09-01 19:20:11 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
cm-iwata
1bbdbc2e0d
fix(test_sqs) Extends the Visibility Timeout for failed test(#5230) (#5231) 2022-06-15 14:51:02 +00:00
Bert Blommers
56806fb310
SQS - Accept queue-names as QueueUrl-parameter (#5073) 2022-04-27 22:51:51 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Cristopher Pinzón
c25aae0d9a
Allow "True" in SQS Queue boolean attributes (#4830) 2022-02-07 22:53:25 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Sami Jaktholm
ca327e399d
SQS - Improve delete_message_batch() error responses (#4765) 2022-01-15 20:45:43 -01:00
Cristopher Pinzón
b7f0dee4a7
escape windows return character (#4729) 2021-12-30 09:54:15 -01:00
rolsen
17c0cedbb2
Add support to remove RedrivePolicy from SQS. (#4664) 2021-12-06 21:42:11 -01:00
Bert Blommers
cbfe962b70
SQS - Align logic around receipt_handles with AWS (#4655) 2021-12-04 21:51:51 -01:00
Kamil Turek
26a732a0e9
Validate message group ID for standard queues (#4635) 2021-11-25 22:32:25 -01:00
Bert Blommers
1102e282fd
SQS - try circumvent test errors (#4609) 2021-11-21 16:05:11 -01:00
Dominik Schubert
88e1aef254
SQS - Fix message attributes disappearing on multiple receives (#4599) 2021-11-19 22:24:47 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
8526013e61
Parallelize tests - Part 1 (#4368) 2021-10-05 17:11:07 +00:00
Bert Blommers
d87a2eab49
SQS - Allow XML content to be received as a message attr (#4337) 2021-09-23 18:55:22 +00:00
Bert Blommers
4c18b36170
SQS - duplicate deprecated tests (#4326) 2021-09-22 21:50:27 +00:00
Bert Blommers
31e10e96d7
Remove Docker-dependency from SQS (#3738) 2021-08-28 10:03:17 +01:00
Bert Blommers
ec70d3cd14
SQS - get_queue_attributes() might not have AttributeNames-parameter (#4236) 2021-08-28 09:34:33 +01:00
Bert Blommers
6f4b6080f8
SQS - Raise error message when providing an invalid value for the queue_url parameter (#3657) 2021-08-28 06:19:01 +01:00
Anton Grübel
e865362791
Add fifo high throughput (#4224) 2021-08-26 16:23:17 +01:00
Bert Blommers
7acdfe4feb
Introduce Pylint to check for duplicate test method names (#3684) 2021-08-21 16:33:15 +01:00
Bert Blommers
11883a1fda
Remove unnecessary dependencies EC2/SQS (#4094)
* Add missing dependencies for EFS
2021-07-29 06:38:16 +01:00
Miguel Gagliardo
f9f93531e8
Fix: Adding empty tags to SQS queue on creation time (#4087)
* Fix: Adding tags to SQS queue on creation time
2021-07-27 08:24:38 +01:00
Miguel Gagliardo
44624593f1
Fix: Adding fix when setting empty policy attr to queue (#4091) 2021-07-27 06:04:24 +01:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Grégoire Charvet 黑瓜
00be464c05
Fix #3996 (#4051)
* Fix #3996

* Don't delete any message when duplicate handles
2021-07-07 08:59:16 +01:00
Grégoire Charvet 黑瓜
b44ab23c63
Fix #4009 (#4052)
Correctly raises an error when MessageGroupId is missing when sending a
batch of messages to a FIFO queue.
2021-07-04 07:40:39 +01:00
usmangani1
abc62b360d
Fix- Raise InvalidParameterValue when change visibility timeout is mo… (#3893)
* Fix- Raise InvalidParameterValue when change visibility timeout is more than permitted

* Fix review comments

* Modified tests

* Fix tests

* change

* Change client

* Fix tests

* fix tests

* fix tests

* change tests

* Fix tests

* changed tests

* Fix tests

* Fix tests

* Change message
2021-05-18 07:49:56 +01:00
Kai
f9e0595e12
Fix sqs message retention logic (#3924)
* Fix sqs message retention logic

* Apply lint to moto/sqs/models.py

* Fix failed tests because of freezing time

* Fix freezing time in test_publish_to_sqs_in_different_region
2021-05-13 15:06:54 +01:00
usmangani1
85d94ad6ed
Fix:SQS Added support for system attributes in sqs (#3878)
* Adding SQS system attributes

* Fix Comments

* Change template in response
2021-05-01 07:48:39 +01:00