[#116] node: Fix bug with extra generated files in TestReload #220

Merged
fyrchik merged 1 commit from aarifullin/frostfs-node:fix/116-generated_extra_files into master 2023-04-06 07:02:43 +00:00
Member
  • Create testNewEngine in engineWithShards without default opts

Signed-off-by: Airat Arifullin a.arifullin@yadro.com

* Create testNewEngine in engineWithShards without default opts Signed-off-by: Airat Arifullin a.arifullin@yadro.com
aarifullin added 1 commit 2023-04-05 15:50:32 +00:00
[#116] node: Fix bug with extra generated files in TestReload
All checks were successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/push/pre-commit Pipeline was successful
ab891517de
* Create testNewEngine in engineWithShards without default opts

Signed-off-by: Airat Arifullin a.arifullin@yadro.com
aarifullin requested review from storage-core-committers 2023-04-05 15:50:39 +00:00
aarifullin requested review from storage-core-developers 2023-04-05 15:50:44 +00:00
aarifullin reviewed 2023-04-05 15:53:26 +00:00
@ -321,8 +322,9 @@ func engineWithShards(t *testing.T, path string, num int) (*StorageEngine, []str
currShards := make([]string, 0, num)
te := testNewEngine(t).
setShardsNumAdditionalOpts(t, num, func(id int) []shard.Option {
Author
Member

@dstepanov-yadro noticed that tests generate extra *.pilorama files. It turned out that default shards have set Pilorama option that led to generating extra *.pilorama files in TestReload

@dstepanov-yadro noticed that tests generate extra `*.pilorama` files. It turned out that default shards have set `Pilorama` option that led to generating extra `*.pilorama` files in `TestReload`
fyrchik approved these changes 2023-04-06 04:49:24 +00:00
dstepanov-yadro approved these changes 2023-04-06 06:02:04 +00:00
fyrchik merged commit ab891517de into master 2023-04-06 07:02:43 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#220
No description provided.