blob: 943f527c322851017116e4b50a5e280dca8d7fd9 [file] [log] [blame]
!
! @@@ START COPYRIGHT @@@
!
! Licensed to the Apache Software Foundation (ASF) under one
! or more contributor license agreements. See the NOTICE file
! distributed with this work for additional information
! regarding copyright ownership. The ASF licenses this file
! to you under the Apache License, Version 2.0 (the
! "License"); you may not use this file except in compliance
! with the License. You may obtain a copy of the License at
!
! http://www.apache.org/licenses/LICENSE-2.0
!
! Unless required by applicable law or agreed to in writing,
! software distributed under the License is distributed on an
! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
! KIND, either express or implied. See the License for the
! specific language governing permissions and limitations
! under the License.
!
! @@@ END COPYRIGHT @@@
!
! Test SeaPilot ProXy w/ process death - Logical Nodes
! Note: Only one SPX process per physical node
! 6 in a virtual cluster
! 3 in a real cluster
!
exec {type spx,nowait,nid 5,out SPX02.lst}testspx
exec {type spx,nowait,name $SPX01, nid 3,out SPX01.lst}testspx
exec {type spx,nowait,nid 1,out SPX00.lst}testspx
delay 3
! The following 3 execs must fail in a real cluster
exec {type spx,nowait,name $SPX4,nid 4,out SPX4.lst}testspx
exec {type spx,nowait,name $SPX2,nid 2,out SPX2.lst}testspx
exec {type spx,nowait,name $SPX0,nid 0,out SPX0.lst}testspx
delay 3
! 3 (cluster) or 6 (virtual) SPX processes should be started
ps {SPX}
! Start Test1 - Dead SPX process test
event {SPX} 1
delay 5
! 2 (cluster) or 5 (virtual) SPX processes should remain running
ps {SPX}
! Start Test3 - End test - all SPX processes exit
event {SPX} 10
delay 5
! All SPX processes should have exited
ps {SPX}
exit !