Skip to content

Commit

Permalink
Merge pull request #216 from fmherschel/angi-ScaleOut
Browse files Browse the repository at this point in the history
angi-tester HW day2
  • Loading branch information
angelabriel authored Nov 10, 2023
2 parents a0ebf01 + b96fcd4 commit 185f4c8
Show file tree
Hide file tree
Showing 90 changed files with 530 additions and 133 deletions.
1 change: 1 addition & 0 deletions Makefile-tester
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
FILE_LIST = LICENSE \
README.md \
test \
man-tester \

PKG = SAPHanaSR-tester
SPECFILE = ${PKG}.spec
Expand Down
12 changes: 6 additions & 6 deletions SAPHanaSR-tester.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ License: GPL-2.0
Group: Productivity/Clustering/HA
AutoReqProv: on
Summary: Test suite for SAPHanaSR clusters
Version: 1.2.1
Version: 1.2.2
Release: 0
Url: https://www.suse.com/c/fail-safe-operation-of-sap-hana-suse-extends-its-high-availability-solution/

Expand All @@ -34,7 +34,7 @@ Requires: python3
%description
SAPHanaSR-tester is a suite for semi-automated tests of SAPHanaSR clusters. First focussed test-scenarios are angi-ScaleUp and angi-ScaleOut (e.g. for ERP systems).

The test cases are described in JSON files. Each tests is separated into one ore multiple steps. For each step there is an expection about the SAPHanaSR attributes, which needs to match.
The test cases are described in JSON files. Each test is separated into one ore multiple steps. For each step there is an expectation about the SAPHanaSR attributes, which needs to match.
Additionally each step defines the 'next' step and an optional action to be triggered if the step status has been reached (all expectations match).

The following SUSE blog series gives a good overview about running SAP HANA in System Replication in the SUSE cluster:
Expand All @@ -49,14 +49,14 @@ tar xf %{S:0}
#%define crmscr_path /usr/share/crmsh/scripts/

%build
#gzip man/*
gzip man-tester/*

%install
mkdir -p %{buildroot}/usr/bin
#mkdir -p %{buildroot}%{_docdir}/%{name}
mkdir -p %{buildroot}/usr/share/%{name}
mkdir -p %{buildroot}/usr/lib/%{name}
#mkdir -p %{buildroot}%{_mandir}/man7
mkdir -p %{buildroot}%{_mandir}/man7
#mkdir -p %{buildroot}%{_mandir}/man8

# test engine itself
Expand All @@ -76,7 +76,7 @@ ls test/json
cp -va test/json %{buildroot}/usr/share/%{name}

# manual pages
#install -m 0444 man/*.7.gz %{buildroot}%{_mandir}/man7
install -m 0444 man-tester/*.7.gz %{buildroot}%{_mandir}/man7
#install -m 0444 man/*.8.gz %{buildroot}%{_mandir}/man8

%files
Expand All @@ -89,7 +89,7 @@ cp -va test/json %{buildroot}/usr/share/%{name}
%license LICENSE
#%dir %{_docdir}/%{name}
%doc README.md
#%doc %{_mandir}/man7/*
%doc %{_mandir}/man*/*
#%doc %{_mandir}/man8/*

%changelog
Loading

0 comments on commit 185f4c8

Please sign in to comment.