Files
nats-server/server
Derek Collison 244ff4489c Fix for panic from a bug in selecting a block and an index when num blocks > 32 and we used new binary search in NumPending().
The reason would be that we were not accounting for gaps as mb.first.seq can move. The behavior should always return a valid index and mb if seq is inclusive of range from first to last.
The panic could orphan held locks for filestore, consumer and possibly stream.

Signed-off-by: Derek Collison <derek@nats.io>
2023-09-12 15:20:09 -07:00
..
2023-08-02 11:25:48 -07:00
2023-07-18 12:21:31 -07:00
2023-06-03 10:03:23 +05:30
2023-06-05 14:13:18 -07:00
2022-09-08 11:28:23 -06:00
2023-09-04 11:34:12 -07:00
2023-09-01 11:19:33 -07:00
2022-07-05 09:28:00 +01:00
2023-08-21 15:55:31 -07:00
2022-11-14 08:28:19 -08:00
2023-06-27 20:41:57 -07:00
2023-06-02 13:19:22 +03:00
2023-09-12 07:52:17 -07:00
2023-05-15 15:44:38 -07:00
2023-08-21 15:55:00 -07:00
2023-08-31 15:52:00 -07:00
2023-07-21 16:56:13 -07:00
2023-07-21 16:56:13 -07:00
2023-09-05 14:39:28 -07:00
2023-08-30 14:54:30 -07:00
2023-08-02 11:25:48 -07:00
2023-08-04 10:15:35 -07:00
2023-04-12 11:48:22 -07:00
2023-04-12 11:48:22 -07:00
2023-08-25 11:03:54 -07:00
2023-08-02 11:25:48 -07:00
2023-09-04 16:54:36 +01:00
2023-04-29 19:52:57 -07:00
2023-01-17 17:40:39 -08:00
2022-12-27 09:41:39 +01:00
2022-07-05 09:33:12 +01:00
2023-09-11 21:12:15 -07:00
2023-08-01 21:46:54 -07:00
2022-03-25 12:11:55 -06:00

Tests

Tests that run on Travis have been split into jobs that run in their own VM in parallel. This reduces the overall running time but also is allowing recycling of a job when we get a flapper as opposed to have to recycle the whole test suite.

JetStream Tests

For JetStream tests, we need to observe a naming convention so that no tests are omitted when running on Travis.

The script runTestsOnTravis.sh will run a given job based on the definition found in ".travis.yml".

As for the naming convention:

  • All JetStream tests name should start with TestJetStream
  • Cluster tests should go into jetstream_cluster_test.go and start with TestJetStreamCluster
  • Super-cluster tests should go into jetstream_super_cluster_test.go and start with TestJetStreamSuperCluster

Not following this convention means that some tests may not be executed on Travis.