Skip to content

Commit

Permalink
fix: latest test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorres committed Sep 27, 2024
1 parent c1f9b14 commit 17053e9
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ allowed_labels: {}
selector_config: []
config:
yaml_config_enabled: true
static_erasure: block-4-2
static_erasure: mirror-3-dc
host_configs:
- drive:
- path: SectorMap:1:1
type: SSD
- path: SectorMap:2:1
type: SSD
- path: SectorMap:3:1
type: SSD
host_config_id: 1
domains_config:
domain:
Expand All @@ -19,16 +23,21 @@ config:
- kind: ssd
pool_config:
box_id: 1
erasure_species: block-4-2
erasure_species: mirror-3-dc
kind: ssd
geometry:
realm_level_begin: 10
realm_level_end: 20
domain_level_begin: 10
domain_level_end: 256
pdisk_filter:
- property:
- type: SSD
- type: SSD # device type to match host_configs.drive.type
vdisk_kind: Default
state_storage:
- ring:
node: [1, 2, 3, 4, 5, 6, 7, 8]
nto_select: 5
node: [1, 2, 3]
nto_select: 3
ssid: 1
table_service_config:
sql_version: 1
Expand Down Expand Up @@ -56,55 +65,61 @@ config:
progress_threshold: 10000
resolution: 256
spin_threshold: 0
blob_storage_config:
blob_storage_config: # configuration of static blobstorage group.
service_set:
groups:
- erasure_species: block-4-2
- erasure_species: mirror-3-dc
rings:
- fail_domains:
- vdisk_locations:
- node_id: storage-0
- node_id: 1
pdisk_category: SSD
path: SectorMap:1:1
- vdisk_locations:
- node_id: storage-1
- node_id: 1
pdisk_category: SSD
path: SectorMap:1:1
path: SectorMap:2:1
- vdisk_locations:
- node_id: storage-2
- node_id: 1
pdisk_category: SSD
path: SectorMap:1:1
path: SectorMap:3:1
- fail_domains:
- vdisk_locations:
- node_id: storage-3
- node_id: 2
pdisk_category: SSD
path: SectorMap:1:1
- vdisk_locations:
- node_id: storage-4
- node_id: 2
pdisk_category: SSD
path: SectorMap:1:1
path: SectorMap:2:1
- vdisk_locations:
- node_id: storage-5
- node_id: 2
pdisk_category: SSD
path: SectorMap:1:1
path: SectorMap:3:1
- fail_domains:
- vdisk_locations:
- node_id: storage-6
- node_id: 3
pdisk_category: SSD
path: SectorMap:1:1
- vdisk_locations:
- node_id: storage-7
- node_id: 3
pdisk_category: SSD
path: SectorMap:1:1
path: SectorMap:2:1
- vdisk_locations:
- node_id: 3
pdisk_category: SSD
path: SectorMap:3:1
channel_profile_config:
profile:
- channel:
- erasure_species: block-4-2
pdisk_category: 1
- erasure_species: mirror-3-dc
pdisk_category: 0
storage_pool_kind: ssd
- erasure_species: block-4-2
pdisk_category: 1
- erasure_species: mirror-3-dc
pdisk_category: 0
storage_pool_kind: ssd
- erasure_species: block-4-2
pdisk_category: 1
- erasure_species: mirror-3-dc
pdisk_category: 0
storage_pool_kind: ssd
profile_id: 0
grpc_config:
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/smoke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ var _ = Describe("Operator smoke test", func() {

It("check storage with dynconfig", func() {
By("create storage...")
storageSample = testobjects.DefaultStorage(filepath.Join(".", "data", "storage-block-4-2-dynconfig.yaml"))
storageSample = testobjects.DefaultStorage(filepath.Join(".", "data", "storage-mirror-3-dc-dynconfig.yaml"))

Expect(k8sClient.Create(ctx, storageSample)).Should(Succeed())
defer func() {
Expand Down

0 comments on commit 17053e9

Please sign in to comment.